#ifndef __CLAPACK_H
#define __CLAPACK_H
 
/* Subroutine */ int cbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
	nru, integer *ncc, real_ *d__, real_ *e, complex_ *vt, integer *ldvt, 
	complex_ *u, integer *ldu, complex_ *c__, integer *ldc, real_ *rwork, 
	integer *info);

/* Subroutine */ int cgbbrd_(char *vect, integer *m, integer *n, integer *ncc,
	 integer *kl, integer *ku, complex_ *ab, integer *ldab, real_ *d__, 
	real_ *e, complex_ *q, integer *ldq, complex_ *pt, integer *ldpt, 
	complex_ *c__, integer *ldc, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgbcon_(char *norm, integer *n, integer *kl, integer *ku,
	 complex_ *ab, integer *ldab, integer *ipiv, real_ *anorm, real_ *rcond, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgbequ_(integer *m, integer *n, integer *kl, integer *ku,
	 complex_ *ab, integer *ldab, real_ *r__, real_ *c__, real_ *rowcnd, real_ 
	*colcnd, real_ *amax, integer *info);

/* Subroutine */ int cgbrfs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, complex_ *ab, integer *ldab, complex_ *afb, integer *
	ldafb, integer *ipiv, complex_ *b, integer *ldb, complex_ *x, integer *
	ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, integer *
	info);

/* Subroutine */ int cgbsv_(integer *n, integer *kl, integer *ku, integer *
	nrhs, complex_ *ab, integer *ldab, integer *ipiv, complex_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int cgbsvx_(char *fact, char *trans, integer *n, integer *kl,
	 integer *ku, integer *nrhs, complex_ *ab, integer *ldab, complex_ *afb,
	 integer *ldafb, integer *ipiv, char *equed, real_ *r__, real_ *c__, 
	complex_ *b, integer *ldb, complex_ *x, integer *ldx, real_ *rcond, real_ 
	*ferr, real_ *berr, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgbtf2_(integer *m, integer *n, integer *kl, integer *ku,
	 complex_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int cgbtrf_(integer *m, integer *n, integer *kl, integer *ku,
	 complex_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int cgbtrs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, complex_ *ab, integer *ldab, integer *ipiv, complex_ 
	*b, integer *ldb, integer *info);

/* Subroutine */ int cgebak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, real_ *scale, integer *m, complex_ *v, integer *ldv, 
	integer *info);

/* Subroutine */ int cgebal_(char *job, integer *n, complex_ *a, integer *lda, 
	integer *ilo, integer *ihi, real_ *scale, integer *info);

/* Subroutine */ int cgebd2_(integer *m, integer *n, complex_ *a, integer *lda,
	 real_ *d__, real_ *e, complex_ *tauq, complex_ *taup, complex_ *work, 
	integer *info);

/* Subroutine */ int cgebrd_(integer *m, integer *n, complex_ *a, integer *lda,
	 real_ *d__, real_ *e, complex_ *tauq, complex_ *taup, complex_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int cgecon_(char *norm, integer *n, complex_ *a, integer *lda,
	 real_ *anorm, real_ *rcond, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgeequ_(integer *m, integer *n, complex_ *a, integer *lda,
	 real_ *r__, real_ *c__, real_ *rowcnd, real_ *colcnd, real_ *amax, 
	integer *info);

/* Subroutine */ int cgees_(char *jobvs, char *sort, L_fp select, integer *n, 
	complex_ *a, integer *lda, integer *sdim, complex_ *w, complex_ *vs, 
	integer *ldvs, complex_ *work, integer *lwork, real_ *rwork, logical *
	bwork, integer *info);

/* Subroutine */ int cgeesx_(char *jobvs, char *sort, L_fp select, char *
	sense, integer *n, complex_ *a, integer *lda, integer *sdim, complex_ *
	w, complex_ *vs, integer *ldvs, real_ *rconde, real_ *rcondv, complex_ *
	work, integer *lwork, real_ *rwork, logical *bwork, integer *info);

/* Subroutine */ int cgeev_(char *jobvl, char *jobvr, integer *n, complex_ *a, 
	integer *lda, complex_ *w, complex_ *vl, integer *ldvl, complex_ *vr, 
	integer *ldvr, complex_ *work, integer *lwork, real_ *rwork, integer *
	info);

/* Subroutine */ int cgeevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, complex_ *a, integer *lda, complex_ *w, complex_ *vl, 
	integer *ldvl, complex_ *vr, integer *ldvr, integer *ilo, integer *ihi,
	 real_ *scale, real_ *abnrm, real_ *rconde, real_ *rcondv, complex_ *work,
   	integer *lwork, real_ *rwork, integer *info);

/* Subroutine */ int cgegs_(char *jobvsl, char *jobvsr, integer *n, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, complex_ *alpha, complex_ *
	beta, complex_ *vsl, integer *ldvsl, complex_ *vsr, integer *ldvsr,
  	complex_ *work, integer *lwork, real_ *rwork, integer *info);

/* Subroutine */ int cgegv_(char *jobvl, char *jobvr, integer *n, complex_ *a, 
	integer *lda, complex_ *b, integer *ldb, complex_ *alpha, complex_ *beta,
	 complex_ *vl, integer *ldvl, complex_ *vr, integer *ldvr, complex_ *
	work, integer *lwork, real_ *rwork, integer *info);

/* Subroutine */ int cgehd2_(integer *n, integer *ilo, integer *ihi, complex_ *
	a, integer *lda, complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cgehrd_(integer *n, integer *ilo, integer *ihi, complex_ *
	a, integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer 
	*info);

/* Subroutine */ int cgelq2_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cgelqf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgels_(char *trans, integer *m, integer *n, integer *
	nrhs, complex_ *a, integer *lda, complex_ *b, integer *ldb, complex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int cgelsd_(integer *m, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, real_ *s, real_ *rcond, 
	integer *rank, complex_ *work, integer *lwork, real_ *rwork, integer *
	iwork, integer *info);

/* Subroutine */ int cgelss_(integer *m, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, real_ *s, real_ *rcond, 
	integer *rank, complex_ *work, integer *lwork, real_ *rwork, integer *
	info);

/* Subroutine */ int cgelsx_(integer *m, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, integer *jpvt, real_ *rcond,
	 integer *rank, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgelsy_(integer *m, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, integer *jpvt, real_ *rcond,
	 integer *rank, complex_ *work, integer *lwork, real_ *rwork, integer *
	info);

/* Subroutine */ int cgeql2_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cgeqlf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgeqp3_(integer *m, integer *n, complex_ *a, integer *lda,
	 integer *jpvt, complex_ *tau, complex_ *work, integer *lwork, real_ *
	rwork, integer *info);

/* Subroutine */ int cgeqpf_(integer *m, integer *n, complex_ *a, integer *lda,
	 integer *jpvt, complex_ *tau, complex_ *work, real_ *rwork, integer *
	info);

/* Subroutine */ int cgeqr2_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cgeqrf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgerfs_(char *trans, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *af, integer *ldaf, integer *ipiv, complex_ *
	b, integer *ldb, complex_ *x, integer *ldx, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgerq2_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cgerqf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgesc2_(integer *n, complex_ *a, integer *lda, complex_ *
	rhs, integer *ipiv, integer *jpiv, real_ *scale);

/* Subroutine */ int cgesdd_(char *jobz, integer *m, integer *n, complex_ *a, 
	integer *lda, real_ *s, complex_ *u, integer *ldu, complex_ *vt, integer 
	*ldvt, complex_ *work, integer *lwork, real_ *rwork, integer *iwork, 
	integer *info);

/* Subroutine */ int cgesv_(integer *n, integer *nrhs, complex_ *a, integer *
	lda, integer *ipiv, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cgesvd_(char *jobu, char *jobvt, integer *m, integer *n, 
	complex_ *a, integer *lda, real_ *s, complex_ *u, integer *ldu, complex_ *
	vt, integer *ldvt, complex_ *work, integer *lwork, real_ *rwork, 
	integer *info);

/* Subroutine */ int cgesvx_(char *fact, char *trans, integer *n, integer *
	nrhs, complex_ *a, integer *lda, complex_ *af, integer *ldaf, integer *
	ipiv, char *equed, real_ *r__, real_ *c__, complex_ *b, integer *ldb, 
	complex_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgetc2_(integer *n, complex_ *a, integer *lda, integer *
	ipiv, integer *jpiv, integer *info);

/* Subroutine */ int cgetf2_(integer *m, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, integer *info);

/* Subroutine */ int cgetrf_(integer *m, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, integer *info);

/* Subroutine */ int cgetri_(integer *n, complex_ *a, integer *lda, integer *
	ipiv, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgetrs_(char *trans, integer *n, integer *nrhs, complex_ *
	a, integer *lda, integer *ipiv, complex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int cggbak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, real_ *lscale, real_ *rscale, integer *m, complex_ *v, 
	integer *ldv, integer *info);

/* Subroutine */ int cggbal_(char *job, integer *n, complex_ *a, integer *lda, 
	complex_ *b, integer *ldb, integer *ilo, integer *ihi, real_ *lscale, 
	real_ *rscale, real_ *work, integer *info);

/* Subroutine */ int cgges_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, integer *n, complex_ *a, integer *lda, complex_ *b, integer *
	ldb, integer *sdim, complex_ *alpha, complex_ *beta, complex_ *vsl, 
	integer *ldvsl, complex_ *vsr, integer *ldvsr, complex_ *work, integer *
	lwork, real_ *rwork, logical *bwork, integer *info);

/* Subroutine */ int cggesx_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, char *sense, integer *n, complex_ *a, integer *lda, complex_ *b,
	 integer *ldb, integer *sdim, complex_ *alpha, complex_ *beta, complex_ *
	vsl, integer *ldvsl, complex_ *vsr, integer *ldvsr, real_ *rconde, real_ 
	*rcondv, complex_ *work, integer *lwork, real_ *rwork, integer *iwork, 
	integer *liwork, logical *bwork, integer *info);

/* Subroutine */ int cggev_(char *jobvl, char *jobvr, integer *n, complex_ *a, 
	integer *lda, complex_ *b, integer *ldb, complex_ *alpha, complex_ *beta,
	 complex_ *vl, integer *ldvl, complex_ *vr, integer *ldvr, complex_ *
	work, integer *lwork, real_ *rwork, integer *info);

/* Subroutine */ int cggevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, complex_ *a, integer *lda, complex_ *b, integer *ldb,
	 complex_ *alpha, complex_ *beta, complex_ *vl, integer *ldvl, complex_ *
	vr, integer *ldvr, integer *ilo, integer *ihi, real_ *lscale, real_ *
	rscale, real_ *abnrm, real_ *bbnrm, real_ *rconde, real_ *rcondv, complex_ 
	*work, integer *lwork, real_ *rwork, integer *iwork, logical *bwork, 
	integer *info);

/* Subroutine */ int cggglm_(integer *n, integer *m, integer *p, complex_ *a, 
	integer *lda, complex_ *b, integer *ldb, complex_ *d__, complex_ *x, 
	complex_ *y, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cgghrd_(char *compq, char *compz, integer *n, integer *
	ilo, integer *ihi, complex_ *a, integer *lda, complex_ *b, integer *ldb,
	 complex_ *q, integer *ldq, complex_ *z__, integer *ldz, integer *info);

/* Subroutine */ int cgglse_(integer *m, integer *n, integer *p, complex_ *a, 
	integer *lda, complex_ *b, integer *ldb, complex_ *c__, complex_ *d__, 
	complex_ *x, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cggqrf_(integer *n, integer *m, integer *p, complex_ *a, 
	integer *lda, complex_ *taua, complex_ *b, integer *ldb, complex_ *taub, 
	complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cggrqf_(integer *m, integer *p, integer *n, complex_ *a, 
	integer *lda, complex_ *taua, complex_ *b, integer *ldb, complex_ *taub, 
	complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cggsvd_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *n, integer *p, integer *k, integer *l, complex_ *a, integer *
	lda, complex_ *b, integer *ldb, real_ *alpha, real_ *beta, complex_ *u, 
	integer *ldu, complex_ *v, integer *ldv, complex_ *q, integer *ldq, 
	complex_ *work, real_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int cggsvp_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, complex_ *a, integer *lda, complex_ *b, integer 
	*ldb, real_ *tola, real_ *tolb, integer *k, integer *l, complex_ *u, 
	integer *ldu, complex_ *v, integer *ldv, complex_ *q, integer *ldq, 
	integer *iwork, real_ *rwork, complex_ *tau, complex_ *work, integer *
	info);

/* Subroutine */ int cgtcon_(char *norm, integer *n, complex_ *dl, complex_ *
	d__, complex_ *du, complex_ *du2, integer *ipiv, real_ *anorm, real_ *
	rcond, complex_ *work, integer *info);

/* Subroutine */ int cgtrfs_(char *trans, integer *n, integer *nrhs, complex_ *
	dl, complex_ *d__, complex_ *du, complex_ *dlf, complex_ *df, complex_ *
	duf, complex_ *du2, integer *ipiv, complex_ *b, integer *ldb, complex_ *
	x, integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int cgtsv_(integer *n, integer *nrhs, complex_ *dl, complex_ *
	d__, complex_ *du, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cgtsvx_(char *fact, char *trans, integer *n, integer *
	nrhs, complex_ *dl, complex_ *d__, complex_ *du, complex_ *dlf, complex_ *
	df, complex_ *duf, complex_ *du2, integer *ipiv, complex_ *b, integer *
	ldb, complex_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cgttrf_(integer *n, complex_ *dl, complex_ *d__, complex_ *
	du, complex_ *du2, integer *ipiv, integer *info);

/* Subroutine */ int cgttrs_(char *trans, integer *n, integer *nrhs, complex_ *
	dl, complex_ *d__, complex_ *du, complex_ *du2, integer *ipiv, complex_ *
	b, integer *ldb, integer *info);

/* Subroutine */ int cgtts2_(integer *itrans, integer *n, integer *nrhs, 
	complex_ *dl, complex_ *d__, complex_ *du, complex_ *du2, integer *ipiv, 
	complex_ *b, integer *ldb);

/* Subroutine */ int chbev_(char *jobz, char *uplo, integer *n, integer *kd, 
	complex_ *ab, integer *ldab, real_ *w, complex_ *z__, integer *ldz, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int chbevd_(char *jobz, char *uplo, integer *n, integer *kd, 
	complex_ *ab, integer *ldab, real_ *w, complex_ *z__, integer *ldz, 
	complex_ *work, integer *lwork, real_ *rwork, integer *lrwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int chbevx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *kd, complex_ *ab, integer *ldab, complex_ *q, integer *ldq, 
	real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, integer *
	m, real_ *w, complex_ *z__, integer *ldz, complex_ *work, real_ *rwork, 
	integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int chbgst_(char *vect, char *uplo, integer *n, integer *ka, 
	integer *kb, complex_ *ab, integer *ldab, complex_ *bb, integer *ldbb, 
	complex_ *x, integer *ldx, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int chbgv_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, complex_ *ab, integer *ldab, complex_ *bb, integer *ldbb, 
	real_ *w, complex_ *z__, integer *ldz, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int chbgvd_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, complex_ *ab, integer *ldab, complex_ *bb, integer *ldbb, 
	real_ *w, complex_ *z__, integer *ldz, complex_ *work, integer *lwork, 
	real_ *rwork, integer *lrwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int chbgvx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *ka, integer *kb, complex_ *ab, integer *ldab, complex_ *bb, 
	integer *ldbb, complex_ *q, integer *ldq, real_ *vl, real_ *vu, integer *
	il, integer *iu, real_ *abstol, integer *m, real_ *w, complex_ *z__, 
	integer *ldz, complex_ *work, real_ *rwork, integer *iwork, integer *
	ifail, integer *info);

/* Subroutine */ int chbtrd_(char *vect, char *uplo, integer *n, integer *kd, 
	complex_ *ab, integer *ldab, real_ *d__, real_ *e, complex_ *q, integer *
	ldq, complex_ *work, integer *info);

/* Subroutine */ int checon_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, real_ *anorm, real_ *rcond, complex_ *work, integer *
	info);

/* Subroutine */ int cheev_(char *jobz, char *uplo, integer *n, complex_ *a, 
	integer *lda, real_ *w, complex_ *work, integer *lwork, real_ *rwork, 
	integer *info);

/* Subroutine */ int cheevd_(char *jobz, char *uplo, integer *n, complex_ *a, 
	integer *lda, real_ *w, complex_ *work, integer *lwork, real_ *rwork, 
	integer *lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int cheevr_(char *jobz, char *range, char *uplo, integer *n, 
	complex_ *a, integer *lda, real_ *vl, real_ *vu, integer *il, integer *
	iu, real_ *abstol, integer *m, real_ *w, complex_ *z__, integer *ldz, 
	integer *isuppz, complex_ *work, integer *lwork, real_ *rwork, integer *
  	lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int cheevx_(char *jobz, char *range, char *uplo, integer *n, 
	complex_ *a, integer *lda, real_ *vl, real_ *vu, integer *il, integer *
	iu, real_ *abstol, integer *m, real_ *w, complex_ *z__, integer *ldz, 
	complex_ *work, integer *lwork, real_ *rwork, integer *iwork, integer *
 	ifail, integer *info);

/* Subroutine */ int chegs2_(integer *itype, char *uplo, integer *n, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int chegst_(integer *itype, char *uplo, integer *n, complex_ *
 	a, integer *lda, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int chegv_(integer *itype, char *jobz, char *uplo, integer *
	n, complex_ *a, integer *lda, complex_ *b, integer *ldb, real_ *w,
  	complex_ *work, integer *lwork, real_ *rwork, integer *info);

/* Subroutine */ int chegvd_(integer *itype, char *jobz, char *uplo, integer *
	n, complex_ *a, integer *lda, complex_ *b, integer *ldb, real_ *w, 
	complex_ *work, integer *lwork, real_ *rwork, integer *lrwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int chegvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, complex_ *a, integer *lda, complex_ *b, integer *ldb, 
	real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, integer *
	m, real_ *w, complex_ *z__, integer *ldz, complex_ *work, integer *lwork,
 	 real_ *rwork, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int cherfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *af, integer *ldaf, integer *ipiv, complex_ *
	b, integer *ldb, complex_ *x, integer *ldx, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int chesv_(char *uplo, integer *n, integer *nrhs, complex_ *a,
	 integer *lda, integer *ipiv, complex_ *b, integer *ldb, complex_ *work,
	 integer *lwork, integer *info);

/* Subroutine */ int chesvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *a, integer *lda, complex_ *af, integer *ldaf, integer *
	ipiv, complex_ *b, integer *ldb, complex_ *x, integer *ldx, real_ *rcond,
	 real_ *ferr, real_ *berr, complex_ *work, integer *lwork, real_ *rwork, 
	integer *info);

/* Subroutine */ int chetd2_(char *uplo, integer *n, complex_ *a, integer *lda,
	 real_ *d__, real_ *e, complex_ *tau, integer *info);

/* Subroutine */ int chetf2_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, integer *info);

/* Subroutine */ int chetrd_(char *uplo, integer *n, complex_ *a, integer *lda,
	 real_ *d__, real_ *e, complex_ *tau, complex_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int chetrf_(char *uplo, integer *n, complex_ *a, integer *lda,
 	 integer *ipiv, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int chetri_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, complex_ *work, integer *info);

/* Subroutine */ int chetrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, integer *ipiv, complex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int chgeqz_(char *job, char *compq, char *compz, integer *n, 
	integer *ilo, integer *ihi, complex_ *h__, integer *ldh, complex_ *t, 
	integer *ldt, complex_ *alpha, complex_ *beta, complex_ *q, integer *ldq,
	 complex_ *z__, integer *ldz, complex_ *work, integer *lwork, real_ *
	rwork, integer *info);

/* Subroutine */ int chpcon_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, real_ *anorm, real_ *rcond, complex_ *work, integer *info);

/* Subroutine */ int chpev_(char *jobz, char *uplo, integer *n, complex_ *ap, 
	real_ *w, complex_ *z__, integer *ldz, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int chpevd_(char *jobz, char *uplo, integer *n, complex_ *ap, 
	real_ *w, complex_ *z__, integer *ldz, complex_ *work, integer *lwork, 
	real_ *rwork, integer *lrwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int chpevx_(char *jobz, char *range, char *uplo, integer *n, 
	complex_ *ap, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *
	abstol, integer *m, real_ *w, complex_ *z__, integer *ldz, complex_ *
	work, real_ *rwork, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int chpgst_(integer *itype, char *uplo, integer *n, complex_ *
	ap, complex_ *bp, integer *info);

/* Subroutine */ int chpgv_(integer *itype, char *jobz, char *uplo, integer *
	n, complex_ *ap, complex_ *bp, real_ *w, complex_ *z__, integer *ldz, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int chpgvd_(integer *itype, char *jobz, char *uplo, integer *
	n, complex_ *ap, complex_ *bp, real_ *w, complex_ *z__, integer *ldz, 
	complex_ *work, integer *lwork, real_ *rwork, integer *lrwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int chpgvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, complex_ *ap, complex_ *bp, real_ *vl, real_ *vu, 
	integer *il, integer *iu, real_ *abstol, integer *m, real_ *w, complex_ *
	z__, integer *ldz, complex_ *work, real_ *rwork, integer *iwork, 
	integer *ifail, integer *info);

/* Subroutine */ int chprfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, complex_ *afp, integer *ipiv, complex_ *b, integer *ldb, complex_ *x,
	 integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int chpsv_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, integer *ipiv, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int chpsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *ap, complex_ *afp, integer *ipiv, complex_ *b, integer *
	ldb, complex_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int chptrd_(char *uplo, integer *n, complex_ *ap, real_ *d__, 
	real_ *e, complex_ *tau, integer *info);

/* Subroutine */ int chptrf_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, integer *info);

/* Subroutine */ int chptri_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, complex_ *work, integer *info);

/* Subroutine */ int chptrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, integer *ipiv, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int chsein_(char *side, char *eigsrc, char *initv, logical *
	select, integer *n, complex_ *h__, integer *ldh, complex_ *w, complex_ *
	vl, integer *ldvl, complex_ *vr, integer *ldvr, integer *mm, integer *
	m, complex_ *work, real_ *rwork, integer *ifaill, integer *ifailr, 
	integer *info);

/* Subroutine */ int chseqr_(char *job, char *compz, integer *n, integer *ilo,
	integer *ihi, complex_ *h__, integer *ldh, complex_ *w, complex_ *z__,
   	integer *ldz, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int clabrd_(integer *m, integer *n, integer *nb, complex_ *a, 
	integer *lda, real_ *d__, real_ *e, complex_ *tauq, complex_ *taup, 
	complex_ *x, integer *ldx, complex_ *y, integer *ldy);

/* Subroutine */ int clacgv_(integer *n, complex_ *x, integer *incx);

/* Subroutine */ int clacn2_(integer *n, complex_ *v, complex_ *x, real_ *est, 
	integer *kase, integer *isave);

/* Subroutine */ int clacon_(integer *n, complex_ *v, complex_ *x, real_ *est, 
	integer *kase);

/* Subroutine */ int clacp2_(char *uplo, integer *m, integer *n, real_ *a, 
	integer *lda, complex_ *b, integer *ldb);

/* Subroutine */ int clacpy_(char *uplo, integer *m, integer *n, complex_ *a, 
	integer *lda, complex_ *b, integer *ldb);

/* Subroutine */ int clacrm_(integer *m, integer *n, complex_ *a, integer *lda,
	 real_ *b, integer *ldb, complex_ *c__, integer *ldc, real_ *rwork);

/* Subroutine */ int clacrt_(integer *n, complex_ *cx, integer *incx, complex_ *
	cy, integer *incy, complex_ *c__, complex_ *s);

/* Complex */ VOID cladiv_(complex_ * ret_val, complex_ *x, complex_ *y);

/* Subroutine */ int claed0_(integer *qsiz, integer *n, real_ *d__, real_ *e, 
	complex_ *q, integer *ldq, complex_ *qstore, integer *ldqs, real_ *rwork,
	 integer *iwork, integer *info);

/* Subroutine */ int claed7_(integer *n, integer *cutpnt, integer *qsiz, 
	integer *tlvls, integer *curlvl, integer *curpbm, real_ *d__, complex_ *
	q, integer *ldq, real_ *rho, integer *indxq, real_ *qstore, integer *
	qptr, integer *prmptr, integer *perm, integer *givptr, integer *
	givcol, real_ *givnum, complex_ *work, real_ *rwork, integer *iwork, 
	integer *info);

/* Subroutine */ int claed8_(integer *k, integer *n, integer *qsiz, complex_ *
	q, integer *ldq, real_ *d__, real_ *rho, integer *cutpnt, real_ *z__, 
	real_ *dlamda, complex_ *q2, integer *ldq2, real_ *w, integer *indxp, 
	integer *indx, integer *indxq, integer *perm, integer *givptr, 
	integer *givcol, real_ *givnum, integer *info);

/* Subroutine */ int claein_(logical *rightv, logical *noinit, integer *n, 
	complex_ *h__, integer *ldh, complex_ *w, complex_ *v, complex_ *b, 
	integer *ldb, real_ *rwork, real_ *eps3, real_ *smlnum, integer *info);

/* Subroutine */ int claesy_(complex_ *a, complex_ *b, complex_ *c__, complex_ *
	rt1, complex_ *rt2, complex_ *evscal, complex_ *cs1, complex_ *sn1);

/* Subroutine */ int claev2_(complex_ *a, complex_ *b, complex_ *c__, real_ *rt1, 
	real_ *rt2, real_ *cs1, complex_ *sn1);

/* Subroutine */ int clag2z_(integer *m, integer *n, complex_ *sa, integer *
	ldsa, doublecomplex_ *a, integer *lda, integer *info);

/* Subroutine */ int clags2_(logical *upper, real_ *a1, complex_ *a2, real_ *a3, 
	real_ *b1, complex_ *b2, real_ *b3, real_ *csu, complex_ *snu, real_ *csv, 
	complex_ *snv, real_ *csq, complex_ *snq);

/* Subroutine */ int clagtm_(char *trans, integer *n, integer *nrhs, real_ *
	alpha, complex_ *dl, complex_ *d__, complex_ *du, complex_ *x, integer *
	ldx, real_ *beta, complex_ *b, integer *ldb);

/* Subroutine */ int clahef_(char *uplo, integer *n, integer *nb, integer *kb,
	 complex_ *a, integer *lda, integer *ipiv, complex_ *w, integer *ldw, 
	integer *info);

/* Subroutine */ int clahqr_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, complex_ *h__, integer *ldh, complex_ *w, 
	integer *iloz, integer *ihiz, complex_ *z__, integer *ldz, integer *
	info);

/* Subroutine */ int clahr2_(integer *n, integer *k, integer *nb, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *t, integer *ldt, complex_ *y, 
	integer *ldy);

/* Subroutine */ int clahrd_(integer *n, integer *k, integer *nb, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *t, integer *ldt, complex_ *y, 
	integer *ldy);

/* Subroutine */ int claic1_(integer *job, integer *j, complex_ *x, real_ *sest,
	 complex_ *w, complex_ *gamma, real_ *sestpr, complex_ *s, complex_ *c__);

/* Subroutine */ int clals0_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *nrhs, complex_ *b, integer *ldb, complex_ *bx, 
	integer *ldbx, integer *perm, integer *givptr, integer *givcol, 
	integer *ldgcol, real_ *givnum, integer *ldgnum, real_ *poles, real_ *
	difl, real_ *difr, real_ *z__, integer *k, real_ *c__, real_ *s, real_ *
	rwork, integer *info);

/* Subroutine */ int clalsa_(integer *icompq, integer *smlsiz, integer *n, 
	integer *nrhs, complex_ *b, integer *ldb, complex_ *bx, integer *ldbx, 
	real_ *u, integer *ldu, real_ *vt, integer *k, real_ *difl, real_ *difr, 
	real_ *z__, real_ *poles, integer *givptr, integer *givcol, integer *
	ldgcol, integer *perm, real_ *givnum, real_ *c__, real_ *s, real_ *rwork, 
	integer *iwork, integer *info);

/* Subroutine */ int clalsd_(char *uplo, integer *smlsiz, integer *n, integer 
	*nrhs, real_ *d__, real_ *e, complex_ *b, integer *ldb, real_ *rcond, 
	integer *rank, complex_ *work, real_ *rwork, integer *iwork, integer *
	info);

/* Subroutine */ int clapll_(integer *n, complex_ *x, integer *incx, complex_ *
	y, integer *incy, real_ *ssmin);

/* Subroutine */ int clapmt_(logical *forwrd, integer *m, integer *n, complex_ 
	*x, integer *ldx, integer *k);

/* Subroutine */ int claqgb_(integer *m, integer *n, integer *kl, integer *ku,
	 complex_ *ab, integer *ldab, real_ *r__, real_ *c__, real_ *rowcnd, real_ 
	*colcnd, real_ *amax, char *equed);

/* Subroutine */ int claqge_(integer *m, integer *n, complex_ *a, integer *lda,
	 real_ *r__, real_ *c__, real_ *rowcnd, real_ *colcnd, real_ *amax, char *
	equed);

/* Subroutine */ int claqhb_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, real_ *s, real_ *scond, real_ *amax, char *equed  	);

/* Subroutine */ int claqhe_(char *uplo, integer *n, complex_ *a, integer *lda,
	 real_ *s, real_ *scond, real_ *amax, char *equed);

/* Subroutine */ int claqhp_(char *uplo, integer *n, complex_ *ap, real_ *s, 
	real_ *scond, real_ *amax, char *equed  	);

/* Subroutine */ int claqp2_(integer *m, integer *n, integer *offset, complex_ 
	*a, integer *lda, integer *jpvt, complex_ *tau, real_ *vn1, real_ *vn2, 
	complex_ *work);

/* Subroutine */ int claqps_(integer *m, integer *n, integer *offset, integer 
	*nb, integer *kb, complex_ *a, integer *lda, integer *jpvt, complex_ *
	tau, real_ *vn1, real_ *vn2, complex_ *auxv, complex_ *f, integer *ldf);

/* Subroutine */ int claqr0_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, complex_ *h__, integer *ldh, complex_ *w, 
	integer *iloz, integer *ihiz, complex_ *z__, integer *ldz, complex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int claqr1_(integer *n, complex_ *h__, integer *ldh, complex_ *
	s1, complex_ *s2, complex_ *v);

/* Subroutine */ int claqr2_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, complex_ *h__, integer *ldh,
	 integer *iloz, integer *ihiz, complex_ *z__, integer *ldz, integer *
	ns, integer *nd, complex_ *sh, complex_ *v, integer *ldv, integer *nh, 
	complex_ *t, integer *ldt, integer *nv, complex_ *wv, integer *ldwv, 
	complex_ *work, integer *lwork);

/* Subroutine */ int claqr3_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, complex_ *h__, integer *ldh,
	 integer *iloz, integer *ihiz, complex_ *z__, integer *ldz, integer *
	ns, integer *nd, complex_ *sh, complex_ *v, integer *ldv, integer *nh, 
	complex_ *t, integer *ldt, integer *nv, complex_ *wv, integer *ldwv, 
	complex_ *work, integer *lwork);

/* Subroutine */ int claqr4_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, complex_ *h__, integer *ldh, complex_ *w, 
	integer *iloz, integer *ihiz, complex_ *z__, integer *ldz, complex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int claqr5_(logical *wantt, logical *wantz, integer *kacc22, 
	integer *n, integer *ktop, integer *kbot, integer *nshfts, complex_ *s,
	 complex_ *h__, integer *ldh, integer *iloz, integer *ihiz, complex_ *
	z__, integer *ldz, complex_ *v, integer *ldv, complex_ *u, integer *ldu,
	 integer *nv, complex_ *wv, integer *ldwv, integer *nh, complex_ *wh, 
	integer *ldwh);

/* Subroutine */ int claqsb_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, real_ *s, real_ *scond, real_ *amax, char *equed  	);

/* Subroutine */ int claqsp_(char *uplo, integer *n, complex_ *ap, real_ *s, 
	real_ *scond, real_ *amax, char *equed  	);

/* Subroutine */ int claqsy_(char *uplo, integer *n, complex_ *a, integer *lda,
	 real_ *s, real_ *scond, real_ *amax, char *equed);

/* Subroutine */ int clar1v_(integer *n, integer *b1, integer *bn, real_ *
	lambda, real_ *d__, real_ *l, real_ *ld, real_ *lld, real_ *pivmin, real_ *
	gaptol, complex_ *z__, logical *wantnc, integer *negcnt, real_ *ztz, 
	real_ *mingma, integer *r__, integer *isuppz, real_ *nrminv, real_ *
	resid, real_ *rqcorr, real_ *work);

/* Subroutine */ int clar2v_(integer *n, complex_ *x, complex_ *y, complex_ *z__,
	 integer *incx, real_ *c__, complex_ *s, integer *incc);

/* Subroutine */ int clarcm_(integer *m, integer *n, real_ *a, integer *lda, 
	complex_ *b, integer *ldb, complex_ *c__, integer *ldc, real_ *rwork);

/* Subroutine */ int clarf_(char *side, integer *m, integer *n, complex_ *v, 
	integer *incv, complex_ *tau, complex_ *c__, integer *ldc, complex_ *
	work);

/* Subroutine */ int clarfb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, complex_ *v, integer *ldv, 
	complex_ *t, integer *ldt, complex_ *c__, integer *ldc, complex_ *work, 
	integer *ldwork);

/* Subroutine */ int clarfg_(integer *n, complex_ *alpha, complex_ *x, integer *
	incx, complex_ *tau);

/* Subroutine */ int clarft_(char *direct, char *storev, integer *n, integer *
	k, complex_ *v, integer *ldv, complex_ *tau, complex_ *t, integer *ldt);

/* Subroutine */ int clarfx_(char *side, integer *m, integer *n, complex_ *v, 
	complex_ *tau, complex_ *c__, integer *ldc, complex_ *work  	);

/* Subroutine */ int clargv_(integer *n, complex_ *x, integer *incx, complex_ *
	y, integer *incy, real_ *c__, integer *incc);

/* Subroutine */ int clarnv_(integer *idist, integer *iseed, integer *n, 
	complex_ *x);

/* Subroutine */ int clarrv_(integer *n, real_ *vl, real_ *vu, real_ *d__, real_ *
	l, real_ *pivmin, integer *isplit, integer *m, integer *dol, integer *
	dou, real_ *minrgp, real_ *rtol1, real_ *rtol2, real_ *w, real_ *werr, 
	real_ *wgap, integer *iblock, integer *indexw, real_ *gers, complex_ *
	z__, integer *ldz, integer *isuppz, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int clartg_(complex_ *f, complex_ *g, real_ *cs, complex_ *sn, 
	complex_ *r__);

/* Subroutine */ int clartv_(integer *n, complex_ *x, integer *incx, complex_ *
	y, integer *incy, real_ *c__, complex_ *s, integer *incc);

/* Subroutine */ int clarz_(char *side, integer *m, integer *n, integer *l, 
	complex_ *v, integer *incv, complex_ *tau, complex_ *c__, integer *ldc, 
	complex_ *work);

/* Subroutine */ int clarzb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, integer *l, complex_ *v, 
	integer *ldv, complex_ *t, integer *ldt, complex_ *c__, integer *ldc, 
	complex_ *work, integer *ldwork);

/* Subroutine */ int clarzt_(char *direct, char *storev, integer *n, integer *
	k, complex_ *v, integer *ldv, complex_ *tau, complex_ *t, integer *ldt);

/* Subroutine */ int clascl_(char *type__, integer *kl, integer *ku, real_ *
	cfrom, real_ *cto, integer *m, integer *n, complex_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int claset_(char *uplo, integer *m, integer *n, complex_ *
	alpha, complex_ *beta, complex_ *a, integer *lda);

/* Subroutine */ int clasr_(char *side, char *pivot, char *direct, integer *m,
	 integer *n, real_ *c__, real_ *s, complex_ *a, integer *lda  	);

/* Subroutine */ int classq_(integer *n, complex_ *x, integer *incx, real_ *
	scale, real_ *sumsq);

/* Subroutine */ int claswp_(integer *n, complex_ *a, integer *lda, integer *
	k1, integer *k2, integer *ipiv, integer *incx);

/* Subroutine */ int clasyf_(char *uplo, integer *n, integer *nb, integer *kb,
	 complex_ *a, integer *lda, integer *ipiv, complex_ *w, integer *ldw, 
	integer *info);

/* Subroutine */ int clatbs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, integer *kd, complex_ *ab, integer *ldab, complex_ *
	x, real_ *scale, real_ *cnorm, integer *info);

/* Subroutine */ int clatdf_(integer *ijob, integer *n, complex_ *z__, integer 
	*ldz, complex_ *rhs, real_ *rdsum, real_ *rdscal, integer *ipiv, integer 
	*jpiv);

/* Subroutine */ int clatps_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, complex_ *ap, complex_ *x, real_ *scale, real_ *cnorm,
	 integer *info);

/* Subroutine */ int clatrd_(char *uplo, integer *n, integer *nb, complex_ *a, 
	integer *lda, real_ *e, complex_ *tau, complex_ *w, integer *ldw  	);

/* Subroutine */ int clatrs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, complex_ *a, integer *lda, complex_ *x, real_ *scale,
	 real_ *cnorm, integer *info);

/* Subroutine */ int clatrz_(integer *m, integer *n, integer *l, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work);

/* Subroutine */ int clatzm_(char *side, integer *m, integer *n, complex_ *v, 
	integer *incv, complex_ *tau, complex_ *c1, complex_ *c2, integer *ldc, 
	complex_ *work);

/* Subroutine */ int clauu2_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *info);

/* Subroutine */ int clauum_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *info);

/* Subroutine */ int cpbcon_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, real_ *anorm, real_ *rcond, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int cpbequ_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, real_ *s, real_ *scond, real_ *amax, integer *info);

/* Subroutine */ int cpbrfs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, complex_ *ab, integer *ldab, complex_ *afb, integer *ldafb, 
	complex_ *b, integer *ldb, complex_ *x, integer *ldx, real_ *ferr, real_ *
	berr, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cpbstf_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, integer *info);

/* Subroutine */ int cpbsv_(char *uplo, integer *n, integer *kd, integer *
	nrhs, complex_ *ab, integer *ldab, complex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int cpbsvx_(char *fact, char *uplo, integer *n, integer *kd, 
	integer *nrhs, complex_ *ab, integer *ldab, complex_ *afb, integer *
	ldafb, char *equed, real_ *s, complex_ *b, integer *ldb, complex_ *x, 
	integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, complex_ *work, 
	real_ *rwork, integer *info);

/* Subroutine */ int cpbtf2_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, integer *info);

/* Subroutine */ int cpbtrf_(char *uplo, integer *n, integer *kd, complex_ *ab,
	 integer *ldab, integer *info);

/* Subroutine */ int cpbtrs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, complex_ *ab, integer *ldab, complex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int cpocon_(char *uplo, integer *n, complex_ *a, integer *lda,
	 real_ *anorm, real_ *rcond, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cpoequ_(integer *n, complex_ *a, integer *lda, real_ *s, 
	real_ *scond, real_ *amax, integer *info);

/* Subroutine */ int cporfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *af, integer *ldaf, complex_ *b, integer *ldb,
	 complex_ *x, integer *ldx, real_ *ferr, real_ *berr, complex_ *work, 
	real_ *rwork, integer *info);

/* Subroutine */ int cposv_(char *uplo, integer *n, integer *nrhs, complex_ *a,
	 integer *lda, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cposvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *a, integer *lda, complex_ *af, integer *ldaf, char *
	equed, real_ *s, complex_ *b, integer *ldb, complex_ *x, integer *ldx, 
	real_ *rcond, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int cpotf2_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *info);

/* Subroutine */ int cpotrf_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *info);

/* Subroutine */ int cpotri_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *info);

/* Subroutine */ int cpotrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cppcon_(char *uplo, integer *n, complex_ *ap, real_ *anorm,
	 real_ *rcond, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cppequ_(char *uplo, integer *n, complex_ *ap, real_ *s, 
	real_ *scond, real_ *amax, integer *info);

/* Subroutine */ int cpprfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, complex_ *afp, complex_ *b, integer *ldb, complex_ *x, integer *ldx, 
	real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cppsv_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cppsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *ap, complex_ *afp, char *equed, real_ *s, complex_ *b, 
	integer *ldb, complex_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ 
	*berr, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int cpptrf_(char *uplo, integer *n, complex_ *ap, integer *
	info);

/* Subroutine */ int cpptri_(char *uplo, integer *n, complex_ *ap, integer *
	info);

/* Subroutine */ int cpptrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cptcon_(integer *n, real_ *d__, complex_ *e, real_ *anorm, 
	real_ *rcond, real_ *rwork, integer *info);

/* Subroutine */ int cpteqr_(char *compz, integer *n, real_ *d__, real_ *e, 
	complex_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int cptrfs_(char *uplo, integer *n, integer *nrhs, real_ *d__,
	 complex_ *e, real_ *df, complex_ *ef, complex_ *b, integer *ldb, complex_ 
	*x, integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int cptsv_(integer *n, integer *nrhs, real_ *d__, complex_ *e, 
	complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cptsvx_(char *fact, integer *n, integer *nrhs, real_ *d__,
	 complex_ *e, real_ *df, complex_ *ef, complex_ *b, integer *ldb, complex_ 
	*x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, complex_ *work, 
	real_ *rwork, integer *info);

/* Subroutine */ int cpttrf_(integer *n, real_ *d__, complex_ *e, integer *info);

/* Subroutine */ int cpttrs_(char *uplo, integer *n, integer *nrhs, real_ *d__,
	 complex_ *e, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cptts2_(integer *iuplo, integer *n, integer *nrhs, real_ *
	d__, complex_ *e, complex_ *b, integer *ldb);

/* Subroutine */ int crot_(integer *n, complex_ *cx, integer *incx, complex_ *
	cy, integer *incy, real_ *c__, complex_ *s);

/* Subroutine */ int cspcon_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, real_ *anorm, real_ *rcond, complex_ *work, integer *info);

/* Subroutine */ int cspmv_(char *uplo, integer *n, complex_ *alpha, complex_ *
	ap, complex_ *x, integer *incx, complex_ *beta, complex_ *y, integer *
	incy);

/* Subroutine */ int cspr_(char *uplo, integer *n, complex_ *alpha, complex_ *x,
	 integer *incx, complex_ *ap);

/* Subroutine */ int csprfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, complex_ *afp, integer *ipiv, complex_ *b, integer *ldb, complex_ *x,
	 integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int cspsv_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, integer *ipiv, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int cspsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *ap, complex_ *afp, integer *ipiv, complex_ *b, integer *
	ldb, complex_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int csptrf_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, integer *info);

/* Subroutine */ int csptri_(char *uplo, integer *n, complex_ *ap, integer *
	ipiv, complex_ *work, integer *info);

/* Subroutine */ int csptrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	ap, integer *ipiv, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int csrscl_(integer *n, real_ *sa, complex_ *sx, integer *incx);

/* Subroutine */ int cstedc_(char *compz, integer *n, real_ *d__, real_ *e, 
	complex_ *z__, integer *ldz, complex_ *work, integer *lwork, real_ *
	rwork, integer *lrwork, integer *iwork, integer *liwork, integer *
	info);

/* Subroutine */ int cstegr_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, 
	integer *m, real_ *w, complex_ *z__, integer *ldz, integer *isuppz, 
	real_ *work, integer *lwork, integer *iwork, integer *liwork, integer *
	info);

/* Subroutine */ int cstein_(integer *n, real_ *d__, real_ *e, integer *m, real_ 
	*w, integer *iblock, integer *isplit, complex_ *z__, integer *ldz, 
	real_ *work, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int cstemr_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, integer *m, 
	real_ *w, complex_ *z__, integer *ldz, integer *nzc, integer *isuppz, 
	logical *tryrac, real_ *work, integer *lwork, integer *iwork, integer *
	liwork, integer *info);

/* Subroutine */ int csteqr_(char *compz, integer *n, real_ *d__, real_ *e, 
	complex_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int csycon_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, real_ *anorm, real_ *rcond, complex_ *work, integer *
	info);

/* Subroutine */ int csymv_(char *uplo, integer *n, complex_ *alpha, complex_ *
	a, integer *lda, complex_ *x, integer *incx, complex_ *beta, complex_ *y,
	 integer *incy);

/* Subroutine */ int csyr_(char *uplo, integer *n, complex_ *alpha, complex_ *x,
	 integer *incx, complex_ *a, integer *lda);

/* Subroutine */ int csyrfs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, complex_ *af, integer *ldaf, integer *ipiv, complex_ *
	b, integer *ldb, complex_ *x, integer *ldx, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int csysv_(char *uplo, integer *n, integer *nrhs, complex_ *a,
	 integer *lda, integer *ipiv, complex_ *b, integer *ldb, complex_ *work,
	 integer *lwork, integer *info);

/* Subroutine */ int csysvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, complex_ *a, integer *lda, complex_ *af, integer *ldaf, integer *
	ipiv, complex_ *b, integer *ldb, complex_ *x, integer *ldx, real_ *rcond,
	 real_ *ferr, real_ *berr, complex_ *work, integer *lwork, real_ *rwork, 
	integer *info);

/* Subroutine */ int csytf2_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, integer *info);

/* Subroutine */ int csytrf_(char *uplo, integer *n, complex_ *a, integer *lda,
 	 integer *ipiv, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int csytri_(char *uplo, integer *n, complex_ *a, integer *lda,
	 integer *ipiv, complex_ *work, integer *info);

/* Subroutine */ int csytrs_(char *uplo, integer *n, integer *nrhs, complex_ *
	a, integer *lda, integer *ipiv, complex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int ctbcon_(char *norm, char *uplo, char *diag, integer *n, 
	integer *kd, complex_ *ab, integer *ldab, real_ *rcond, complex_ *work, 
	real_ *rwork, integer *info);

/* Subroutine */ int ctbrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, complex_ *ab, integer *ldab, complex_ *b, 
	integer *ldb, complex_ *x, integer *ldx, real_ *ferr, real_ *berr, 
	complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int ctbtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, complex_ *ab, integer *ldab, complex_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int ctgevc_(char *side, char *howmny, logical *select, 
	integer *n, complex_ *s, integer *lds, complex_ *p, integer *ldp, 
	complex_ *vl, integer *ldvl, complex_ *vr, integer *ldvr, integer *mm, 
	integer *m, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int ctgex2_(logical *wantq, logical *wantz, integer *n, 
	complex_ *a, integer *lda, complex_ *b, integer *ldb, complex_ *q, 
	integer *ldq, complex_ *z__, integer *ldz, integer *j1, integer *info);

/* Subroutine */ int ctgexc_(logical *wantq, logical *wantz, integer *n, 
	complex_ *a, integer *lda, complex_ *b, integer *ldb, complex_ *q, 
	integer *ldq, complex_ *z__, integer *ldz, integer *ifst, integer *
	ilst, integer *info);

/* Subroutine */ int ctgsen_(integer *ijob, logical *wantq, logical *wantz, 
	logical *select, integer *n, complex_ *a, integer *lda, complex_ *b, 
	integer *ldb, complex_ *alpha, complex_ *beta, complex_ *q, integer *ldq,
	 complex_ *z__, integer *ldz, integer *m, real_ *pl, real_ *pr, real_ *
	dif, complex_ *work, integer *lwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int ctgsja_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, integer *k, integer *l, complex_ *a, integer *
	lda, complex_ *b, integer *ldb, real_ *tola, real_ *tolb, real_ *alpha, 
	real_ *beta, complex_ *u, integer *ldu, complex_ *v, integer *ldv, 
	complex_ *q, integer *ldq, complex_ *work, integer *ncycle, integer *
	info);

/* Subroutine */ int ctgsna_(char *job, char *howmny, logical *select, 
	integer *n, complex_ *a, integer *lda, complex_ *b, integer *ldb, 
	complex_ *vl, integer *ldvl, complex_ *vr, integer *ldvr, real_ *s, real_ 
	*dif, integer *mm, integer *m, complex_ *work, integer *lwork, integer 
	*iwork, integer *info);

/* Subroutine */ int ctgsy2_(char *trans, integer *ijob, integer *m, integer *
	n, complex_ *a, integer *lda, complex_ *b, integer *ldb, complex_ *c__, 
	integer *ldc, complex_ *d__, integer *ldd, complex_ *e, integer *lde, 
	complex_ *f, integer *ldf, real_ *scale, real_ *rdsum, real_ *rdscal, 
	integer *info);

/* Subroutine */ int ctgsyl_(char *trans, integer *ijob, integer *m, integer *
	n, complex_ *a, integer *lda, complex_ *b, integer *ldb, complex_ *c__, 
	integer *ldc, complex_ *d__, integer *ldd, complex_ *e, integer *lde, 
	complex_ *f, integer *ldf, real_ *scale, real_ *dif, complex_ *work, 
	integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int ctpcon_(char *norm, char *uplo, char *diag, integer *n, 
	complex_ *ap, real_ *rcond, complex_ *work, real_ *rwork, integer *info);

/* Subroutine */ int ctprfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, complex_ *ap, complex_ *b, integer *ldb, complex_ *x, 
	integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int ctptri_(char *uplo, char *diag, integer *n, complex_ *ap, 
	integer *info);

/* Subroutine */ int ctptrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, complex_ *ap, complex_ *b, integer *ldb, integer *info);

/* Subroutine */ int ctrcon_(char *norm, char *uplo, char *diag, integer *n, 
	complex_ *a, integer *lda, real_ *rcond, complex_ *work, real_ *rwork, 
	integer *info);

/* Subroutine */ int ctrevc_(char *side, char *howmny, logical *select, 
	integer *n, complex_ *t, integer *ldt, complex_ *vl, integer *ldvl, 
	complex_ *vr, integer *ldvr, integer *mm, integer *m, complex_ *work, 
	real_ *rwork, integer *info);

/* Subroutine */ int ctrexc_(char *compq, integer *n, complex_ *t, integer *
	ldt, complex_ *q, integer *ldq, integer *ifst, integer *ilst, integer *
	info);

/* Subroutine */ int ctrrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, complex_ *a, integer *lda, complex_ *b, integer *ldb, 
	complex_ *x, integer *ldx, real_ *ferr, real_ *berr, complex_ *work, real_ 
	*rwork, integer *info);

/* Subroutine */ int ctrsen_(char *job, char *compq, logical *select, integer 
	*n, complex_ *t, integer *ldt, complex_ *q, integer *ldq, complex_ *w, 
	integer *m, real_ *s, real_ *sep, complex_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int ctrsna_(char *job, char *howmny, logical *select, 
	integer *n, complex_ *t, integer *ldt, complex_ *vl, integer *ldvl, 
	complex_ *vr, integer *ldvr, real_ *s, real_ *sep, integer *mm, integer *
	m, complex_ *work, integer *ldwork, real_ *rwork, integer *info);

/* Subroutine */ int ctrsyl_(char *trana, char *tranb, integer *isgn, integer 
	*m, integer *n, complex_ *a, integer *lda, complex_ *b, integer *ldb, 
	complex_ *c__, integer *ldc, real_ *scale, integer *info);

/* Subroutine */ int ctrti2_(char *uplo, char *diag, integer *n, complex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int ctrtri_(char *uplo, char *diag, integer *n, complex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int ctrtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, complex_ *a, integer *lda, complex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int ctzrqf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, integer *info);

/* Subroutine */ int ctzrzf_(integer *m, integer *n, complex_ *a, integer *lda,
	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cung2l_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cung2r_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cungbr_(char *vect, integer *m, integer *n, integer *k, 
	complex_ *a, integer *lda, complex_ *tau, complex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int cunghr_(integer *n, integer *ilo, integer *ihi, complex_ *
	a, integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer 
	*info);

/* Subroutine */ int cungl2_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cunglq_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cungql_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cungqr_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cungr2_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *info);

/* Subroutine */ int cungrq_(integer *m, integer *n, integer *k, complex_ *a, 
	integer *lda, complex_ *tau, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cungtr_(char *uplo, integer *n, complex_ *a, integer *lda,
 	 complex_ *tau, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cunm2l_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__, 
	integer *ldc, complex_ *work, integer *info);

/* Subroutine */ int cunm2r_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__, 
	integer *ldc, complex_ *work, integer *info);

/* Subroutine */ int cunmbr_(char *vect, char *side, char *trans, integer *m, 
	integer *n, integer *k, complex_ *a, integer *lda, complex_ *tau, 
	complex_ *c__, integer *ldc, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cunmhr_(char *side, char *trans, integer *m, integer *n, 
	integer *ilo, integer *ihi, complex_ *a, integer *lda, complex_ *tau, 
	complex_ *c__, integer *ldc, complex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int cunml2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__, 
	integer *ldc, complex_ *work, integer *info);

/* Subroutine */ int cunmlq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__,
	  	integer *ldc, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cunmql_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__,
	  	integer *ldc, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cunmqr_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__,
	  	integer *ldc, complex_ *work, integer *lwork, integer *info);

/* Subroutine */ int cunmr2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__, 
	integer *ldc, complex_ *work, integer *info);

/* Subroutine */ int cunmr3_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, complex_ *a, integer *lda, complex_ *tau, 
	complex_ *c__, integer *ldc, complex_ *work, integer *info);

/* Subroutine */ int cunmrq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, complex_ *a, integer *lda, complex_ *tau, complex_ *c__,  	
	integer *ldc, complex_ *work, integer *lwork, integer *iinfo);

/* Subroutine */ int cupgtr_(char *uplo, integer *n, complex_ *ap, complex_ *
	tau, complex_ *q, integer *ldq, complex_ *work, integer *info);

/* Subroutine */ int cupmtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, complex_ *ap, complex_ *tau, complex_ *c__, integer *ldc, 
	complex_ *work, integer *info);

/* Subroutine */ int dbdsdc_(char *uplo, char *compq, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *u, integer *ldu, doublereal_ *vt, 
	integer *ldvt, doublereal_ *q, integer *iq, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
	nru, integer *ncc, doublereal_ *d__, doublereal_ *e, doublereal_ *vt, 
	integer *ldvt, doublereal_ *u, integer *ldu, doublereal_ *c__, integer *
	ldc, doublereal_ *work, integer *info);

/* Subroutine */ int ddisna_(char *job, integer *m, integer *n, doublereal_ *
	d__, doublereal_ *sep, integer *info);

/* Subroutine */ int dgbbrd_(char *vect, integer *m, integer *n, integer *ncc,
	 integer *kl, integer *ku, doublereal_ *ab, integer *ldab, doublereal_ *
	d__, doublereal_ *e, doublereal_ *q, integer *ldq, doublereal_ *pt, 
	integer *ldpt, doublereal_ *c__, integer *ldc, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dgbcon_(char *norm, integer *n, integer *kl, integer *ku,
	 doublereal_ *ab, integer *ldab, integer *ipiv, doublereal_ *anorm, 
	doublereal_ *rcond, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dgbequ_(integer *m, integer *n, integer *kl, integer *ku,
	 doublereal_ *ab, integer *ldab, doublereal_ *r__, doublereal_ *c__, 
	doublereal_ *rowcnd, doublereal_ *colcnd, doublereal_ *amax, integer *
	info);

/* Subroutine */ int dgbrfs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, doublereal_ *ab, integer *ldab, doublereal_ *afb, 
	integer *ldafb, integer *ipiv, doublereal_ *b, integer *ldb, 
	doublereal_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dgbsv_(integer *n, integer *kl, integer *ku, integer *
	nrhs, doublereal_ *ab, integer *ldab, integer *ipiv, doublereal_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int dgbsvx_(char *fact, char *trans, integer *n, integer *kl,
	 integer *ku, integer *nrhs, doublereal_ *ab, integer *ldab, 
	doublereal_ *afb, integer *ldafb, integer *ipiv, char *equed, 
	doublereal_ *r__, doublereal_ *c__, doublereal_ *b, integer *ldb, 
	doublereal_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr, 
	doublereal_ *berr, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dgbtf2_(integer *m, integer *n, integer *kl, integer *ku,
	 doublereal_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int dgbtrf_(integer *m, integer *n, integer *kl, integer *ku,
	 doublereal_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int dgbtrs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, doublereal_ *ab, integer *ldab, integer *ipiv, 
	doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dgebak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, doublereal_ *scale, integer *m, doublereal_ *v, integer *
	ldv, integer *info);

/* Subroutine */ int dgebal_(char *job, integer *n, doublereal_ *a, integer *
	lda, integer *ilo, integer *ihi, doublereal_ *scale, integer *info);

/* Subroutine */ int dgebd2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *d__, doublereal_ *e, doublereal_ *tauq, doublereal_ *
	taup, doublereal_ *work, integer *info);

/* Subroutine */ int dgebrd_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *d__, doublereal_ *e, doublereal_ *tauq, doublereal_ *
	taup, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgecon_(char *norm, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dgeequ_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *r__, doublereal_ *c__, doublereal_ *rowcnd, doublereal_ 
	*colcnd, doublereal_ *amax, integer *info);

/* Subroutine */ int dgees_(char *jobvs, char *sort, L_fp select, integer *n, 
	doublereal_ *a, integer *lda, integer *sdim, doublereal_ *wr, 
	doublereal_ *wi, doublereal_ *vs, integer *ldvs, doublereal_ *work, 
	integer *lwork, logical *bwork, integer *info);

/* Subroutine */ int dgeesx_(char *jobvs, char *sort, L_fp select, char *
	sense, integer *n, doublereal_ *a, integer *lda, integer *sdim, 
	doublereal_ *wr, doublereal_ *wi, doublereal_ *vs, integer *ldvs, 
	doublereal_ *rconde, doublereal_ *rcondv, doublereal_ *work, integer *
	lwork, integer *iwork, integer *liwork, logical *bwork, integer *info);

/* Subroutine */ int dgeev_(char *jobvl, char *jobvr, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *wr, doublereal_ *wi, doublereal_ *vl, 
	integer *ldvl, doublereal_ *vr, integer *ldvr, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dgeevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, doublereal_ *a, integer *lda, doublereal_ *wr, 
	doublereal_ *wi, doublereal_ *vl, integer *ldvl, doublereal_ *vr, 
	integer *ldvr, integer *ilo, integer *ihi, doublereal_ *scale, 
	doublereal_ *abnrm, doublereal_ *rconde, doublereal_ *rcondv, doublereal_  	
	*work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int dgegs_(char *jobvsl, char *jobvsr, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *
	alphar, doublereal_ *alphai, doublereal_ *beta, doublereal_ *vsl, 
	integer *ldvsl, doublereal_ *vsr, integer *ldvsr, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dgegv_(char *jobvl, char *jobvr, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *alphar, 
	doublereal_ *alphai, doublereal_ *beta, doublereal_ *vl, integer *ldvl, 
	doublereal_ *vr, integer *ldvr, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dgehd2_(integer *n, integer *ilo, integer *ihi, 
	doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dgehrd_(integer *n, integer *ilo, integer *ihi, 
	doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dgelq2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dgelqf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgels_(char *trans, integer *m, integer *n, integer *
	nrhs, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgelsd_(integer *m, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *
	s, doublereal_ *rcond, integer *rank, doublereal_ *work, integer *lwork,
	 integer *iwork, integer *info);

/* Subroutine */ int dgelss_(integer *m, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *
	s, doublereal_ *rcond, integer *rank, doublereal_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int dgelsx_(integer *m, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, integer *
	jpvt, doublereal_ *rcond, integer *rank, doublereal_ *work, integer *
	info);

/* Subroutine */ int dgelsy_(integer *m, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, integer *
	jpvt, doublereal_ *rcond, integer *rank, doublereal_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int dgeql2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dgeqlf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgeqp3_(integer *m, integer *n, doublereal_ *a, integer *
	lda, integer *jpvt, doublereal_ *tau, doublereal_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int dgeqpf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, integer *jpvt, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dgeqr2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dgeqrf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgerfs_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, integer *
	ipiv, doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, 
	doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dgerq2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dgerqf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgesc2_(integer *n, doublereal_ *a, integer *lda, 
	doublereal_ *rhs, integer *ipiv, integer *jpiv, doublereal_ *scale);

/* Subroutine */ int dgesdd_(char *jobz, integer *m, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *s, doublereal_ *u, integer *ldu, 
	doublereal_ *vt, integer *ldvt, doublereal_ *work, integer *lwork, 
	integer *iwork, integer *info);

/* Subroutine */ int dgesv_(integer *n, integer *nrhs, doublereal_ *a, integer 
	*lda, integer *ipiv, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dgesvd_(char *jobu, char *jobvt, integer *m, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *s, doublereal_ *u, integer *
	ldu, doublereal_ *vt, integer *ldvt, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dgesvx_(char *fact, char *trans, integer *n, integer *
	nrhs, doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, 
	integer *ipiv, char *equed, doublereal_ *r__, doublereal_ *c__, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	rcond, doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dgetc2_(integer *n, doublereal_ *a, integer *lda, integer 
	*ipiv, integer *jpiv, integer *info);

/* Subroutine */ int dgetf2_(integer *m, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, integer *info);

/* Subroutine */ int dgetrf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, integer *info);

/* Subroutine */ int dgetri_(integer *n, doublereal_ *a, integer *lda, integer 
	*ipiv, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dgetrs_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, integer *ipiv, doublereal_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int dggbak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, doublereal_ *lscale, doublereal_ *rscale, integer *m, 
	doublereal_ *v, integer *ldv, integer *info);

/* Subroutine */ int dggbal_(char *job, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *b, integer *ldb, integer *ilo, integer *ihi, 
	doublereal_ *lscale, doublereal_ *rscale, doublereal_ *work, integer *
	info);

/* Subroutine */ int dgges_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, integer *n, doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, integer *sdim, doublereal_ *alphar, doublereal_ *alphai, 
	doublereal_ *beta, doublereal_ *vsl, integer *ldvsl, doublereal_ *vsr, 
	integer *ldvsr, doublereal_ *work, integer *lwork, logical *bwork, 
	integer *info);

/* Subroutine */ int dggesx_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, char *sense, integer *n, doublereal_ *a, integer *lda, 
	doublereal_ *b, integer *ldb, integer *sdim, doublereal_ *alphar, 
	doublereal_ *alphai, doublereal_ *beta, doublereal_ *vsl, integer *ldvsl,
	 doublereal_ *vsr, integer *ldvsr, doublereal_ *rconde, doublereal_ *
	rcondv, doublereal_ *work, integer *lwork, integer *iwork, integer * 	
	liwork, logical *bwork, integer *info);

/* Subroutine */ int dggev_(char *jobvl, char *jobvr, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *alphar, 
	doublereal_ *alphai, doublereal_ *beta, doublereal_ *vl, integer *ldvl, 
	doublereal_ *vr, integer *ldvr, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dggevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, doublereal_ *alphar, doublereal_ *alphai, doublereal_ *
	beta, doublereal_ *vl, integer *ldvl, doublereal_ *vr, integer *ldvr, 
	integer *ilo, integer *ihi, doublereal_ *lscale, doublereal_ *rscale, 
	doublereal_ *abnrm, doublereal_ *bbnrm, doublereal_ *rconde, doublereal_ *
	rcondv, doublereal_ *work, integer *lwork, integer *iwork, logical * 	
	bwork, integer *info);

/* Subroutine */ int dggglm_(integer *n, integer *m, integer *p, doublereal_ *
	a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *d__, 
	doublereal_ *x, doublereal_ *y, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dgghrd_(char *compq, char *compz, integer *n, integer *
	ilo, integer *ihi, doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, doublereal_ *q, integer *ldq, doublereal_ *z__, integer *
	ldz, integer *info);

/* Subroutine */ int dgglse_(integer *m, integer *n, integer *p, doublereal_ *
	a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *c__, 
	doublereal_ *d__, doublereal_ *x, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dggqrf_(integer *n, integer *m, integer *p, doublereal_ *
	a, integer *lda, doublereal_ *taua, doublereal_ *b, integer *ldb, 
	doublereal_ *taub, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dggrqf_(integer *m, integer *p, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *taua, doublereal_ *b, integer *ldb, 
	doublereal_ *taub, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dggsvd_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *n, integer *p, integer *k, integer *l, doublereal_ *a, 
	integer *lda, doublereal_ *b, integer *ldb, doublereal_ *alpha, 
	doublereal_ *beta, doublereal_ *u, integer *ldu, doublereal_ *v, integer 
	*ldv, doublereal_ *q, integer *ldq, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dggsvp_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, doublereal_ *tola, doublereal_ *tolb, integer *k, integer 
	*l, doublereal_ *u, integer *ldu, doublereal_ *v, integer *ldv, 
	doublereal_ *q, integer *ldq, integer *iwork, doublereal_ *tau, 
	doublereal_ *work, integer *info);

/* Subroutine */ int dgtcon_(char *norm, integer *n, doublereal_ *dl, 
	doublereal_ *d__, doublereal_ *du, doublereal_ *du2, integer *ipiv, 
	doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dgtrfs_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *dl, doublereal_ *d__, doublereal_ *du, doublereal_ *dlf, 
	doublereal_ *df, doublereal_ *duf, doublereal_ *du2, integer *ipiv, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, integer *
	info);

/* Subroutine */ int dgtsv_(integer *n, integer *nrhs, doublereal_ *dl, 
	doublereal_ *d__, doublereal_ *du, doublereal_ *b, integer *ldb, integer 
	*info);

/* Subroutine */ int dgtsvx_(char *fact, char *trans, integer *n, integer *
	nrhs, doublereal_ *dl, doublereal_ *d__, doublereal_ *du, doublereal_ *
	dlf, doublereal_ *df, doublereal_ *duf, doublereal_ *du2, integer *ipiv, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	rcond, doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dgttrf_(integer *n, doublereal_ *dl, doublereal_ *d__, 
	doublereal_ *du, doublereal_ *du2, integer *ipiv, integer *info);

/* Subroutine */ int dgttrs_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *dl, doublereal_ *d__, doublereal_ *du, doublereal_ *du2,  	
	integer *ipiv, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dgtts2_(integer *itrans, integer *n, integer *nrhs, 
	doublereal_ *dl, doublereal_ *d__, doublereal_ *du, doublereal_ *du2, 
	integer *ipiv, doublereal_ *b, integer *ldb);

/* Subroutine */ int dhgeqz_(char *job, char *compq, char *compz, integer *n, 
	integer *ilo, integer *ihi, doublereal_ *h__, integer *ldh, doublereal_ 
	*t, integer *ldt, doublereal_ *alphar, doublereal_ *alphai, doublereal_ *
	beta, doublereal_ *q, integer *ldq, doublereal_ *z__, integer *ldz, 
	doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dhsein_(char *side, char *eigsrc, char *initv, logical *
	select, integer *n, doublereal_ *h__, integer *ldh, doublereal_ *wr, 
	doublereal_ *wi, doublereal_ *vl, integer *ldvl, doublereal_ *vr, 
	integer *ldvr, integer *mm, integer *m, doublereal_ *work, integer *
	ifaill, integer *ifailr, integer *info);

/* Subroutine */ int dhseqr_(char *job, char *compz, integer *n, integer *ilo,
	 integer *ihi, doublereal_ *h__, integer *ldh, doublereal_ *wr, 
	doublereal_ *wi, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dlabad_(doublereal_ *small, doublereal_ *large);

/* Subroutine */ int dlabrd_(integer *m, integer *n, integer *nb, doublereal_ *
	a, integer *lda, doublereal_ *d__, doublereal_ *e, doublereal_ *tauq, 
	doublereal_ *taup, doublereal_ *x, integer *ldx, doublereal_ *y, integer 
	*ldy);

/* Subroutine */ int dlacn2_(integer *n, doublereal_ *v, doublereal_ *x, 
	integer *isgn, doublereal_ *est, integer *kase, integer *isave);

/* Subroutine */ int dlacon_(integer *n, doublereal_ *v, doublereal_ *x, 
	integer *isgn, doublereal_ *est, integer *kase);

/* Subroutine */ int dlacpy_(char *uplo, integer *m, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *b, integer *ldb);

/* Subroutine */ int dladiv_(doublereal_ *a, doublereal_ *b, doublereal_ *c__, 
	doublereal_ *d__, doublereal_ *p, doublereal_ *q);

/* Subroutine */ int dlae2_(doublereal_ *a, doublereal_ *b, doublereal_ *c__, 
	doublereal_ *rt1, doublereal_ *rt2);

/* Subroutine */ int dlaebz_(integer *ijob, integer *nitmax, integer *n, 
	integer *mmax, integer *minp, integer *nbmin, doublereal_ *abstol, 
	doublereal_ *reltol, doublereal_ *pivmin, doublereal_ *d__, doublereal_ *
	e, doublereal_ *e2, integer *nval, doublereal_ *ab, doublereal_ *c__, 
	integer *mout, integer *nab, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dlaed0_(integer *icompq, integer *qsiz, integer *n, 
	doublereal_ *d__, doublereal_ *e, doublereal_ *q, integer *ldq, 
	doublereal_ *qstore, integer *ldqs, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dlaed1_(integer *n, doublereal_ *d__, doublereal_ *q, 
	integer *ldq, integer *indxq, doublereal_ *rho, integer *cutpnt, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dlaed2_(integer *k, integer *n, integer *n1, doublereal_ *
	d__, doublereal_ *q, integer *ldq, integer *indxq, doublereal_ *rho, 
	doublereal_ *z__, doublereal_ *dlamda, doublereal_ *w, doublereal_ *q2, 
	integer *indx, integer *indxc, integer *indxp, integer *coltyp, 
	integer *info);

/* Subroutine */ int dlaed3_(integer *k, integer *n, integer *n1, doublereal_ *
	d__, doublereal_ *q, integer *ldq, doublereal_ *rho, doublereal_ *dlamda,
	 doublereal_ *q2, integer *indx, integer *ctot, doublereal_ *w, 
	doublereal_ *s, integer *info);

/* Subroutine */ int dlaed4_(integer *n, integer *i__, doublereal_ *d__, 
	doublereal_ *z__, doublereal_ *delta, doublereal_ *rho, doublereal_ *dlam,
	 integer *info);

/* Subroutine */ int dlaed5_(integer *i__, doublereal_ *d__, doublereal_ *z__, 
	doublereal_ *delta, doublereal_ *rho, doublereal_ *dlam);

/* Subroutine */ int dlaed6_(integer *kniter, logical *orgati, doublereal_ *
	rho, doublereal_ *d__, doublereal_ *z__, doublereal_ *finit, doublereal_ *
	tau, integer *info);

/* Subroutine */ int dlaed7_(integer *icompq, integer *n, integer *qsiz, 
	integer *tlvls, integer *curlvl, integer *curpbm, doublereal_ *d__, 
	doublereal_ *q, integer *ldq, integer *indxq, doublereal_ *rho, integer 
	*cutpnt, doublereal_ *qstore, integer *qptr, integer *prmptr, integer *
	perm, integer *givptr, integer *givcol, doublereal_ *givnum, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dlaed8_(integer *icompq, integer *k, integer *n, integer 
	*qsiz, doublereal_ *d__, doublereal_ *q, integer *ldq, integer *indxq, 
	doublereal_ *rho, integer *cutpnt, doublereal_ *z__, doublereal_ *dlamda,
	 doublereal_ *q2, integer *ldq2, doublereal_ *w, integer *perm, integer 
	*givptr, integer *givcol, doublereal_ *givnum, integer *indxp, integer 
	*indx, integer *info);

/* Subroutine */ int dlaed9_(integer *k, integer *kstart, integer *kstop, 
	integer *n, doublereal_ *d__, doublereal_ *q, integer *ldq, doublereal_ *
	rho, doublereal_ *dlamda, doublereal_ *w, doublereal_ *s, integer *lds, 
	integer *info);

/* Subroutine */ int dlaeda_(integer *n, integer *tlvls, integer *curlvl, 
	integer *curpbm, integer *prmptr, integer *perm, integer *givptr, 
	integer *givcol, doublereal_ *givnum, doublereal_ *q, integer *qptr, 
	doublereal_ *z__, doublereal_ *ztemp, integer *info);

/* Subroutine */ int dlaein_(logical *rightv, logical *noinit, integer *n, 
	doublereal_ *h__, integer *ldh, doublereal_ *wr, doublereal_ *wi, 
	doublereal_ *vr, doublereal_ *vi, doublereal_ *b, integer *ldb, 
	doublereal_ *work, doublereal_ *eps3, doublereal_ *smlnum, doublereal_ *
	bignum, integer *info);

/* Subroutine */ int dlaev2_(doublereal_ *a, doublereal_ *b, doublereal_ *c__, 
	doublereal_ *rt1, doublereal_ *rt2, doublereal_ *cs1, doublereal_ *sn1);

/* Subroutine */ int dlaexc_(logical *wantq, integer *n, doublereal_ *t, 
	integer *ldt, doublereal_ *q, integer *ldq, integer *j1, integer *n1, 
	integer *n2, doublereal_ *work, integer *info);

/* Subroutine */ int dlag2_(doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, doublereal_ *safmin, doublereal_ *scale1, doublereal_ *
	scale2, doublereal_ *wr1, doublereal_ *wr2, doublereal_ *wi);

/* Subroutine */ int dlag2s_(integer *m, integer *n, doublereal_ *a, integer *
	lda, real_ *sa, integer *ldsa, integer *info);

/* Subroutine */ int dlags2_(logical *upper, doublereal_ *a1, doublereal_ *a2, 
	doublereal_ *a3, doublereal_ *b1, doublereal_ *b2, doublereal_ *b3, 
	doublereal_ *csu, doublereal_ *snu, doublereal_ *csv, doublereal_ *snv, 
	doublereal_ *csq, doublereal_ *snq);

/* Subroutine */ int dlagtf_(integer *n, doublereal_ *a, doublereal_ *lambda, 
	doublereal_ *b, doublereal_ *c__, doublereal_ *tol, doublereal_ *d__, 
	integer *in, integer *info);

/* Subroutine */ int dlagtm_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *alpha, doublereal_ *dl, doublereal_ *d__, doublereal_ *du, 
	doublereal_ *x, integer *ldx, doublereal_ *beta, doublereal_ *b, integer 
	*ldb);

/* Subroutine */ int dlagts_(integer *job, integer *n, doublereal_ *a, 
	doublereal_ *b, doublereal_ *c__, doublereal_ *d__, integer *in, 
	doublereal_ *y, doublereal_ *tol, integer *info);

/* Subroutine */ int dlagv2_(doublereal_ *a, integer *lda, doublereal_ *b, 
	integer *ldb, doublereal_ *alphar, doublereal_ *alphai, doublereal_ *
	beta, doublereal_ *csl, doublereal_ *snl, doublereal_ *csr, doublereal_ *
	snr);

/* Subroutine */ int dlahqr_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublereal_ *h__, integer *ldh, doublereal_ 
	*wr, doublereal_ *wi, integer *iloz, integer *ihiz, doublereal_ *z__, 
	integer *ldz, integer *info);

/* Subroutine */ int dlahr2_(integer *n, integer *k, integer *nb, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *t, integer *ldt, 
	doublereal_ *y, integer *ldy);

/* Subroutine */ int dlahrd_(integer *n, integer *k, integer *nb, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *t, integer *ldt, 
	doublereal_ *y, integer *ldy);

/* Subroutine */ int dlaic1_(integer *job, integer *j, doublereal_ *x, 
	doublereal_ *sest, doublereal_ *w, doublereal_ *gamma, doublereal_ *
	sestpr, doublereal_ *s, doublereal_ *c__);

/* Subroutine */ int dlaln2_(logical *ltrans, integer *na, integer *nw, 
	doublereal_ *smin, doublereal_ *ca, doublereal_ *a, integer *lda, 
	doublereal_ *d1, doublereal_ *d2, doublereal_ *b, integer *ldb, 
	doublereal_ *wr, doublereal_ *wi, doublereal_ *x, integer *ldx, 
	doublereal_ *scale, doublereal_ *xnorm, integer *info);

/* Subroutine */ int dlals0_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *nrhs, doublereal_ *b, integer *ldb, doublereal_ 
	*bx, integer *ldbx, integer *perm, integer *givptr, integer *givcol, 
	integer *ldgcol, doublereal_ *givnum, integer *ldgnum, doublereal_ *
	poles, doublereal_ *difl, doublereal_ *difr, doublereal_ *z__, integer *
	k, doublereal_ *c__, doublereal_ *s, doublereal_ *work, integer *info);

/* Subroutine */ int dlalsa_(integer *icompq, integer *smlsiz, integer *n, 
	integer *nrhs, doublereal_ *b, integer *ldb, doublereal_ *bx, integer *
	ldbx, doublereal_ *u, integer *ldu, doublereal_ *vt, integer *k, 
	doublereal_ *difl, doublereal_ *difr, doublereal_ *z__, doublereal_ *
	poles, integer *givptr, integer *givcol, integer *ldgcol, integer *
	perm, doublereal_ *givnum, doublereal_ *c__, doublereal_ *s, doublereal_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int dlalsd_(char *uplo, integer *smlsiz, integer *n, integer 
	*nrhs, doublereal_ *d__, doublereal_ *e, doublereal_ *b, integer *ldb, 
	doublereal_ *rcond, integer *rank, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dlamrg_(integer *n1, integer *n2, doublereal_ *a, integer 
	*dtrd1, integer *dtrd2, integer *index);

/* Subroutine */ int dlanv2_(doublereal_ *a, doublereal_ *b, doublereal_ *c__, 
	doublereal_ *d__, doublereal_ *rt1r, doublereal_ *rt1i, doublereal_ *rt2r,
	 doublereal_ *rt2i, doublereal_ *cs, doublereal_ *sn);

/* Subroutine */ int dlapll_(integer *n, doublereal_ *x, integer *incx, 
	doublereal_ *y, integer *incy, doublereal_ *ssmin);

/* Subroutine */ int dlapmt_(logical *forwrd, integer *m, integer *n, 
	doublereal_ *x, integer *ldx, integer *k);

/* Subroutine */ int dlaqgb_(integer *m, integer *n, integer *kl, integer *ku,
	 doublereal_ *ab, integer *ldab, doublereal_ *r__, doublereal_ *c__, 
	doublereal_ *rowcnd, doublereal_ *colcnd, doublereal_ *amax, char *equed);

/* Subroutine */ int dlaqge_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *r__, doublereal_ *c__, doublereal_ *rowcnd, doublereal_ 
	*colcnd, doublereal_ *amax, char *equed);

/* Subroutine */ int dlaqp2_(integer *m, integer *n, integer *offset, 
	doublereal_ *a, integer *lda, integer *jpvt, doublereal_ *tau, 
	doublereal_ *vn1, doublereal_ *vn2, doublereal_ *work);

/* Subroutine */ int dlaqps_(integer *m, integer *n, integer *offset, integer 
	*nb, integer *kb, doublereal_ *a, integer *lda, integer *jpvt, 
	doublereal_ *tau, doublereal_ *vn1, doublereal_ *vn2, doublereal_ *auxv, 
	doublereal_ *f, integer *ldf);

/* Subroutine */ int dlaqr0_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublereal_ *h__, integer *ldh, doublereal_ 
	*wr, doublereal_ *wi, integer *iloz, integer *ihiz, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dlaqr1_(integer *n, doublereal_ *h__, integer *ldh, 
	doublereal_ *sr1, doublereal_ *si1, doublereal_ *sr2, doublereal_ *si2, 
	doublereal_ *v);

/* Subroutine */ int dlaqr2_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, doublereal_ *h__, integer *
	ldh, integer *iloz, integer *ihiz, doublereal_ *z__, integer *ldz, 
	integer *ns, integer *nd, doublereal_ *sr, doublereal_ *si, doublereal_ *
	v, integer *ldv, integer *nh, doublereal_ *t, integer *ldt, integer *
	nv, doublereal_ *wv, integer *ldwv, doublereal_ *work, integer *lwork);

/* Subroutine */ int dlaqr3_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, doublereal_ *h__, integer *
	ldh, integer *iloz, integer *ihiz, doublereal_ *z__, integer *ldz, 
	integer *ns, integer *nd, doublereal_ *sr, doublereal_ *si, doublereal_ *
	v, integer *ldv, integer *nh, doublereal_ *t, integer *ldt, integer *
	nv, doublereal_ *wv, integer *ldwv, doublereal_ *work, integer *lwork);

/* Subroutine */ int dlaqr4_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublereal_ *h__, integer *ldh, doublereal_ 
	*wr, doublereal_ *wi, integer *iloz, integer *ihiz, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dlaqr5_(logical *wantt, logical *wantz, integer *kacc22, 
	integer *n, integer *ktop, integer *kbot, integer *nshfts, doublereal_ 
	*sr, doublereal_ *si, doublereal_ *h__, integer *ldh, integer *iloz, 
	integer *ihiz, doublereal_ *z__, integer *ldz, doublereal_ *v, integer *
	ldv, doublereal_ *u, integer *ldu, integer *nv, doublereal_ *wv, 
	integer *ldwv, integer *nh, doublereal_ *wh, integer *ldwh);

/* Subroutine */ int dlaqsb_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, doublereal_ *s, doublereal_ *scond, doublereal_ *amax,
	 char *equed);

/* Subroutine */ int dlaqsp_(char *uplo, integer *n, doublereal_ *ap, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, char *equed);

/* Subroutine */ int dlaqsy_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *s, doublereal_ *scond, doublereal_ *amax, char *equed);

/* Subroutine */ int dlaqtr_(logical *ltran, logical *lreal_, integer *n, 
	doublereal_ *t, integer *ldt, doublereal_ *b, doublereal_ *w, doublereal_ 
	*scale, doublereal_ *x, doublereal_ *work, integer *info);

/* Subroutine */ int dlar1v_(integer *n, integer *b1, integer *bn, doublereal_ 
	*lambda, doublereal_ *d__, doublereal_ *l, doublereal_ *ld, doublereal_ *
	lld, doublereal_ *pivmin, doublereal_ *gaptol, doublereal_ *z__, logical 
	*wantnc, integer *negcnt, doublereal_ *ztz, doublereal_ *mingma, 
	integer *r__, integer *isuppz, doublereal_ *nrminv, doublereal_ *resid, 
	doublereal_ *rqcorr, doublereal_ *work);

/* Subroutine */ int dlar2v_(integer *n, doublereal_ *x, doublereal_ *y, 
	doublereal_ *z__, integer *incx, doublereal_ *c__, doublereal_ *s, 
	integer *incc);

/* Subroutine */ int dlarf_(char *side, integer *m, integer *n, doublereal_ *v,
	 integer *incv, doublereal_ *tau, doublereal_ *c__, integer *ldc, 
	doublereal_ *work);

/* Subroutine */ int dlarfb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, doublereal_ *v, integer *
	ldv, doublereal_ *t, integer *ldt, doublereal_ *c__, integer *ldc, 
	doublereal_ *work, integer *ldwork);

/* Subroutine */ int dlarfg_(integer *n, doublereal_ *alpha, doublereal_ *x, 
	integer *incx, doublereal_ *tau);

/* Subroutine */ int dlarft_(char *direct, char *storev, integer *n, integer *
	k, doublereal_ *v, integer *ldv, doublereal_ *tau, doublereal_ *t, 
	integer *ldt);

/* Subroutine */ int dlarfx_(char *side, integer *m, integer *n, doublereal_ *
	v, doublereal_ *tau, doublereal_ *c__, integer *ldc, doublereal_ *work);

/* Subroutine */ int dlargv_(integer *n, doublereal_ *x, integer *incx, 
	doublereal_ *y, integer *incy, doublereal_ *c__, integer *incc);

/* Subroutine */ int dlarnv_(integer *idist, integer *iseed, integer *n, 
	doublereal_ *x);

/* Subroutine */ int dlarra_(integer *n, doublereal_ *d__, doublereal_ *e, 
	doublereal_ *e2, doublereal_ *spltol, doublereal_ *tnrm, integer *nsplit,
	 integer *isplit, integer *info);

/* Subroutine */ int dlarrb_(integer *n, doublereal_ *d__, doublereal_ *lld, 
	integer *ifirst, integer *ilast, doublereal_ *rtol1, doublereal_ *rtol2,
	 integer *offset, doublereal_ *w, doublereal_ *wgap, doublereal_ *werr, 
	doublereal_ *work, integer *iwork, doublereal_ *pivmin, doublereal_ *
	spdiam, integer *twist, integer *info);

/* Subroutine */ int dlarrc_(char *jobt, integer *n, doublereal_ *vl, 
	doublereal_ *vu, doublereal_ *d__, doublereal_ *e, doublereal_ *pivmin, 
	integer *eigcnt, integer *lcnt, integer *rcnt, integer *info);

/* Subroutine */ int dlarrd_(char *range, char *order, integer *n, doublereal_ 
	*vl, doublereal_ *vu, integer *il, integer *iu, doublereal_ *gers, 
	doublereal_ *reltol, doublereal_ *d__, doublereal_ *e, doublereal_ *e2, 
	doublereal_ *pivmin, integer *nsplit, integer *isplit, integer *m, 
	doublereal_ *w, doublereal_ *werr, doublereal_ *wl, doublereal_ *wu, 
	integer *iblock, integer *indexw, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dlarre_(char *range, integer *n, doublereal_ *vl, 
	doublereal_ *vu, integer *il, integer *iu, doublereal_ *d__, doublereal_ 
	*e, doublereal_ *e2, doublereal_ *rtol1, doublereal_ *rtol2, doublereal_ *
	spltol, integer *nsplit, integer *isplit, integer *m, doublereal_ *w, 
	doublereal_ *werr, doublereal_ *wgap, integer *iblock, integer *indexw, 
	doublereal_ *gers, doublereal_ *pivmin, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dlarrf_(integer *n, doublereal_ *d__, doublereal_ *l, 
	doublereal_ *ld, integer *clstrt, integer *clend, doublereal_ *w, 
	doublereal_ *wgap, doublereal_ *werr, doublereal_ *spdiam, doublereal_ *
	clgapl, doublereal_ *clgapr, doublereal_ *pivmin, doublereal_ *sigma, 
	doublereal_ *dplus, doublereal_ *lplus, doublereal_ *work, integer *info);

/* Subroutine */ int dlarrj_(integer *n, doublereal_ *d__, doublereal_ *e2, 
	integer *ifirst, integer *ilast, doublereal_ *rtol, integer *offset, 
	doublereal_ *w, doublereal_ *werr, doublereal_ *work, integer *iwork, 
	doublereal_ *pivmin, doublereal_ *spdiam, integer *info);

/* Subroutine */ int dlarrk_(integer *n, integer *iw, doublereal_ *gl, 
	doublereal_ *gu, doublereal_ *d__, doublereal_ *e2, doublereal_ *pivmin, 
	doublereal_ *reltol, doublereal_ *w, doublereal_ *werr, integer *info);

/* Subroutine */ int dlarrr_(integer *n, doublereal_ *d__, doublereal_ *e, 
	integer *info);

/* Subroutine */ int dlarrv_(integer *n, doublereal_ *vl, doublereal_ *vu, 
	doublereal_ *d__, doublereal_ *l, doublereal_ *pivmin, integer *isplit, 
	integer *m, integer *dol, integer *dou, doublereal_ *minrgp, 
	doublereal_ *rtol1, doublereal_ *rtol2, doublereal_ *w, doublereal_ *werr,
	 doublereal_ *wgap, integer *iblock, integer *indexw, doublereal_ *gers,
	 doublereal_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int dlartg_(doublereal_ *f, doublereal_ *g, doublereal_ *cs, 
	doublereal_ *sn, doublereal_ *r__);

/* Subroutine */ int dlartv_(integer *n, doublereal_ *x, integer *incx, 
	doublereal_ *y, integer *incy, doublereal_ *c__, doublereal_ *s, integer 
	*incc);

/* Subroutine */ int dlaruv_(integer *iseed, integer *n, doublereal_ *x);

/* Subroutine */ int dlarz_(char *side, integer *m, integer *n, integer *l, 
	doublereal_ *v, integer *incv, doublereal_ *tau, doublereal_ *c__, 
	integer *ldc, doublereal_ *work);

/* Subroutine */ int dlarzb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, integer *l, doublereal_ *v,
	 integer *ldv, doublereal_ *t, integer *ldt, doublereal_ *c__, integer *
	ldc, doublereal_ *work, integer *ldwork  	);

/* Subroutine */ int dlarzt_(char *direct, char *storev, integer *n, integer *
	k, doublereal_ *v, integer *ldv, doublereal_ *tau, doublereal_ *t, 
	integer *ldt);

/* Subroutine */ int dlas2_(doublereal_ *f, doublereal_ *g, doublereal_ *h__, 
	doublereal_ *ssmin, doublereal_ *ssmax);

/* Subroutine */ int dlascl_(char *type__, integer *kl, integer *ku, 
	doublereal_ *cfrom, doublereal_ *cto, integer *m, integer *n, 
	doublereal_ *a, integer *lda, integer *info);

/* Subroutine */ int dlasd0_(integer *n, integer *sqre, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *u, integer *ldu, doublereal_ *vt, integer *
	ldvt, integer *smlsiz, integer *iwork, doublereal_ *work, integer *
	info);

/* Subroutine */ int dlasd1_(integer *nl, integer *nr, integer *sqre, 
	doublereal_ *d__, doublereal_ *alpha, doublereal_ *beta, doublereal_ *u, 
	integer *ldu, doublereal_ *vt, integer *ldvt, integer *idxq, integer *
	iwork, doublereal_ *work, integer *info);

/* Subroutine */ int dlasd2_(integer *nl, integer *nr, integer *sqre, integer 
	*k, doublereal_ *d__, doublereal_ *z__, doublereal_ *alpha, doublereal_ *
	beta, doublereal_ *u, integer *ldu, doublereal_ *vt, integer *ldvt, 
	doublereal_ *dsigma, doublereal_ *u2, integer *ldu2, doublereal_ *vt2, 
	integer *ldvt2, integer *idxp, integer *idx, integer *idxc, integer *
	idxq, integer *coltyp, integer *info);

/* Subroutine */ int dlasd3_(integer *nl, integer *nr, integer *sqre, integer 
	*k, doublereal_ *d__, doublereal_ *q, integer *ldq, doublereal_ *dsigma, 
	doublereal_ *u, integer *ldu, doublereal_ *u2, integer *ldu2, 
	doublereal_ *vt, integer *ldvt, doublereal_ *vt2, integer *ldvt2, 
	integer *idxc, integer *ctot, doublereal_ *z__, integer *info);

/* Subroutine */ int dlasd4_(integer *n, integer *i__, doublereal_ *d__, 
	doublereal_ *z__, doublereal_ *delta, doublereal_ *rho, doublereal_ *
	sigma, doublereal_ *work, integer *info);

/* Subroutine */ int dlasd5_(integer *i__, doublereal_ *d__, doublereal_ *z__, 
	doublereal_ *delta, doublereal_ *rho, doublereal_ *dsigma, doublereal_ *
	work);

/* Subroutine */ int dlasd6_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, doublereal_ *d__, doublereal_ *vf, doublereal_ *vl, 
	doublereal_ *alpha, doublereal_ *beta, integer *idxq, integer *perm, 
	integer *givptr, integer *givcol, integer *ldgcol, doublereal_ *givnum,
	 integer *ldgnum, doublereal_ *poles, doublereal_ *difl, doublereal_ *
	difr, doublereal_ *z__, integer *k, doublereal_ *c__, doublereal_ *s, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dlasd7_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *k, doublereal_ *d__, doublereal_ *z__, 
	doublereal_ *zw, doublereal_ *vf, doublereal_ *vfw, doublereal_ *vl, 
	doublereal_ *vlw, doublereal_ *alpha, doublereal_ *beta, doublereal_ *
	dsigma, integer *idx, integer *idxp, integer *idxq, integer *perm, 
	integer *givptr, integer *givcol, integer *ldgcol, doublereal_ *givnum,
	 integer *ldgnum, doublereal_ *c__, doublereal_ *s, integer *info);

/* Subroutine */ int dlasd8_(integer *icompq, integer *k, doublereal_ *d__, 
	doublereal_ *z__, doublereal_ *vf, doublereal_ *vl, doublereal_ *difl, 
	doublereal_ *difr, integer *lddifr, doublereal_ *dsigma, doublereal_ *
	work, integer *info);

/* Subroutine */ int dlasda_(integer *icompq, integer *smlsiz, integer *n, 
	integer *sqre, doublereal_ *d__, doublereal_ *e, doublereal_ *u, integer 
	*ldu, doublereal_ *vt, integer *k, doublereal_ *difl, doublereal_ *difr, 
	doublereal_ *z__, doublereal_ *poles, integer *givptr, integer *givcol, 
	integer *ldgcol, integer *perm, doublereal_ *givnum, doublereal_ *c__, 
	doublereal_ *s, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dlasdq_(char *uplo, integer *sqre, integer *n, integer *
	ncvt, integer *nru, integer *ncc, doublereal_ *d__, doublereal_ *e, 
	doublereal_ *vt, integer *ldvt, doublereal_ *u, integer *ldu, 
	doublereal_ *c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dlasdt_(integer *n, integer *lvl, integer *nd, integer *
	inode, integer *ndiml, integer *ndimr, integer *msub);

/* Subroutine */ int dlaset_(char *uplo, integer *m, integer *n, doublereal_ *
	alpha, doublereal_ *beta, doublereal_ *a, integer *lda);

/* Subroutine */ int dlasq1_(integer *n, doublereal_ *d__, doublereal_ *e, 
	doublereal_ *work, integer *info);

/* Subroutine */ int dlasq2_(integer *n, doublereal_ *z__, integer *info);

/* Subroutine */ int dlasq3_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, doublereal_ *dmin__, doublereal_ *sigma, doublereal_ *desig,
	 doublereal_ *qmax, integer *nfail, integer *iter, integer *ndiv, 
	logical *ieee);

/* Subroutine */ int dlasq4_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, integer *n0in, doublereal_ *dmin__, doublereal_ *dmin1, 
	doublereal_ *dmin2, doublereal_ *dn, doublereal_ *dn1, doublereal_ *dn2, 
	doublereal_ *tau, integer *ttype);

/* Subroutine */ int dlasq5_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, doublereal_ *tau, doublereal_ *dmin__, doublereal_ *dmin1, 
	doublereal_ *dmin2, doublereal_ *dn, doublereal_ *dnm1, doublereal_ *dnm2,
	 logical *ieee);

/* Subroutine */ int dlasq6_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, doublereal_ *dmin__, doublereal_ *dmin1, doublereal_ *dmin2,
	 doublereal_ *dn, doublereal_ *dnm1, doublereal_ *dnm2);

/* Subroutine */ int dlasr_(char *side, char *pivot, char *direct, integer *m,
	 integer *n, doublereal_ *c__, doublereal_ *s, doublereal_ *a, integer *
	lda);

/* Subroutine */ int dlasrt_(char *id, integer *n, doublereal_ *d__, integer *
	info);

/* Subroutine */ int dlassq_(integer *n, doublereal_ *x, integer *incx, 
	doublereal_ *scale, doublereal_ *sumsq);

/* Subroutine */ int dlasv2_(doublereal_ *f, doublereal_ *g, doublereal_ *h__, 
	doublereal_ *ssmin, doublereal_ *ssmax, doublereal_ *snr, doublereal_ *
	csr, doublereal_ *snl, doublereal_ *csl);

/* Subroutine */ int dlaswp_(integer *n, doublereal_ *a, integer *lda, integer 
	*k1, integer *k2, integer *ipiv, integer *incx);

/* Subroutine */ int dlasy2_(logical *ltranl, logical *ltranr, integer *isgn, 
	integer *n1, integer *n2, doublereal_ *tl, integer *ldtl, doublereal_ *
	tr, integer *ldtr, doublereal_ *b, integer *ldb, doublereal_ *scale, 
	doublereal_ *x, integer *ldx, doublereal_ *xnorm, integer *info);

/* Subroutine */ int dlasyf_(char *uplo, integer *n, integer *nb, integer *kb,
	 doublereal_ *a, integer *lda, integer *ipiv, doublereal_ *w, integer *
	ldw, integer *info);

/* Subroutine */ int dlatbs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, integer *kd, doublereal_ *ab, integer *ldab, 
	doublereal_ *x, doublereal_ *scale, doublereal_ *cnorm, integer *info);

/* Subroutine */ int dlatdf_(integer *ijob, integer *n, doublereal_ *z__, 
	integer *ldz, doublereal_ *rhs, doublereal_ *rdsum, doublereal_ *rdscal, 
	integer *ipiv, integer *jpiv);

/* Subroutine */ int dlatps_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, doublereal_ *ap, doublereal_ *x, doublereal_ *scale, 
	doublereal_ *cnorm, integer *info);

/* Subroutine */ int dlatrd_(char *uplo, integer *n, integer *nb, doublereal_ *
	a, integer *lda, doublereal_ *e, doublereal_ *tau, doublereal_ *w, 
	integer *ldw);

/* Subroutine */ int dlatrs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, doublereal_ *a, integer *lda, doublereal_ *x, 
	doublereal_ *scale, doublereal_ *cnorm, integer *info);

/* Subroutine */ int dlatrz_(integer *m, integer *n, integer *l, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work);

/* Subroutine */ int dlatzm_(char *side, integer *m, integer *n, doublereal_ *
	v, integer *incv, doublereal_ *tau, doublereal_ *c1, doublereal_ *c2, 
	integer *ldc, doublereal_ *work);

/* Subroutine */ int dlauu2_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *info);

/* Subroutine */ int dlauum_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *info);

/* Subroutine */ int dlazq3_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, doublereal_ *dmin__, doublereal_ *sigma, doublereal_ *desig,
	 doublereal_ *qmax, integer *nfail, integer *iter, integer *ndiv, 
	logical *ieee, integer *ttype, doublereal_ *dmin1, doublereal_ *dmin2, 
	doublereal_ *dn, doublereal_ *dn1, doublereal_ *dn2, doublereal_ *tau);

/* Subroutine */ int dlazq4_(integer *i0, integer *n0, doublereal_ *z__, 
	integer *pp, integer *n0in, doublereal_ *dmin__, doublereal_ *dmin1, 
	doublereal_ *dmin2, doublereal_ *dn, doublereal_ *dn1, doublereal_ *dn2, 
	doublereal_ *tau, integer *ttype, doublereal_ *g);

/* Subroutine */ int dopgtr_(char *uplo, integer *n, doublereal_ *ap, 
	doublereal_ *tau, doublereal_ *q, integer *ldq, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dopmtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, doublereal_ *ap, doublereal_ *tau, doublereal_ *c__, integer 
	*ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dorg2l_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dorg2r_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dorgbr_(char *vect, integer *m, integer *n, integer *k, 
	doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dorghr_(integer *n, integer *ilo, integer *ihi, 
	doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int dorgl2_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dorglq_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dorgql_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dorgqr_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dorgr2_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *info);

/* Subroutine */ int dorgrq_(integer *m, integer *n, integer *k, doublereal_ *
	a, integer *lda, doublereal_ *tau, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dorgtr_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dorm2l_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dorm2r_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dormbr_(char *vect, char *side, char *trans, integer *m, 
	integer *n, integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, 
	doublereal_ *c__, integer *ldc, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dormhr_(char *side, char *trans, integer *m, integer *n, 
	integer *ilo, integer *ihi, doublereal_ *a, integer *lda, doublereal_ *
	tau, doublereal_ *c__, integer *ldc, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dorml2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dormlq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dormql_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dormqr_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dormr2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dormr3_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, doublereal_ *a, integer *lda, doublereal_ *tau, 
	doublereal_ *c__, integer *ldc, doublereal_ *work, integer *info);

/* Subroutine */ int dormrq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dormrz_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, doublereal_ *a, integer *lda, doublereal_ *tau, 
	doublereal_ *c__, integer *ldc, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dormtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, doublereal_ *a, integer *lda, doublereal_ *tau, doublereal_ *
	c__, integer *ldc, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dpbcon_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, doublereal_ *anorm, doublereal_ *rcond, doublereal_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int dpbequ_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, doublereal_ *s, doublereal_ *scond, doublereal_ *amax,
	 integer *info);

/* Subroutine */ int dpbrfs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublereal_ *ab, integer *ldab, doublereal_ *afb, integer *ldafb, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, integer *
	info);

/* Subroutine */ int dpbstf_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, integer *info);

/* Subroutine */ int dpbsv_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublereal_ *ab, integer *ldab, doublereal_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int dpbsvx_(char *fact, char *uplo, integer *n, integer *kd, 
	integer *nrhs, doublereal_ *ab, integer *ldab, doublereal_ *afb, 
	integer *ldafb, char *equed, doublereal_ *s, doublereal_ *b, integer *
	ldb, doublereal_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr,
	 doublereal_ *berr, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dpbtf2_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, integer *info);

/* Subroutine */ int dpbtrf_(char *uplo, integer *n, integer *kd, doublereal_ *
	ab, integer *ldab, integer *info);

/* Subroutine */ int dpbtrs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublereal_ *ab, integer *ldab, doublereal_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int dpocon_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dpoequ_(integer *n, doublereal_ *a, integer *lda, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, integer *info);

/* Subroutine */ int dporfs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, integer *
	info);

/* Subroutine */ int dposv_(char *uplo, integer *n, integer *nrhs, doublereal_ 
	*a, integer *lda, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dposvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, 
	char *equed, doublereal_ *s, doublereal_ *b, integer *ldb, doublereal_ *
	x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr, doublereal_ *
	berr, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dpotf2_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *info);

/* Subroutine */ int dpotrf_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *info);

/* Subroutine */ int dpotri_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *info);

/* Subroutine */ int dpotrs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int dppcon_(char *uplo, integer *n, doublereal_ *ap, 
	doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dppequ_(char *uplo, integer *n, doublereal_ *ap, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, integer *info);

/* Subroutine */ int dpprfs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *ap, doublereal_ *afp, doublereal_ *b, integer *ldb, 
	doublereal_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dppsv_(char *uplo, integer *n, integer *nrhs, doublereal_ 
	*ap, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dppsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublereal_ *ap, doublereal_ *afp, char *equed, doublereal_ *s, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	rcond, doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int dpptrf_(char *uplo, integer *n, doublereal_ *ap, integer *
	info);

/* Subroutine */ int dpptri_(char *uplo, integer *n, doublereal_ *ap, integer *
	info);

/* Subroutine */ int dpptrs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *ap, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dptcon_(integer *n, doublereal_ *d__, doublereal_ *e, 
	doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer *info);

/* Subroutine */ int dpteqr_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dptrfs_(integer *n, integer *nrhs, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *df, doublereal_ *ef, doublereal_ *b, integer 
	*ldb, doublereal_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr,
	 doublereal_ *work, integer *info);

/* Subroutine */ int dptsv_(integer *n, integer *nrhs, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dptsvx_(char *fact, integer *n, integer *nrhs, 
	doublereal_ *d__, doublereal_ *e, doublereal_ *df, doublereal_ *ef, 
	doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *
	rcond, doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *
	info);

/* Subroutine */ int dpttrf_(integer *n, doublereal_ *d__, doublereal_ *e, 
	integer *info);

/* Subroutine */ int dpttrs_(integer *n, integer *nrhs, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dptts2_(integer *n, integer *nrhs, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *b, integer *ldb);

/* Subroutine */ int drscl_(integer *n, doublereal_ *sa, doublereal_ *sx, 
	integer *incx);

/* Subroutine */ int dsbev_(char *jobz, char *uplo, integer *n, integer *kd, 
	doublereal_ *ab, integer *ldab, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *info);

/* Subroutine */ int dsbevd_(char *jobz, char *uplo, integer *n, integer *kd, 
	doublereal_ *ab, integer *ldab, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int dsbevx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *kd, doublereal_ *ab, integer *ldab, doublereal_ *q, integer *
	ldq, doublereal_ *vl, doublereal_ *vu, integer *il, integer *iu, 
	doublereal_ *abstol, integer *m, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *iwork, integer *ifail, 
	integer *info);

/* Subroutine */ int dsbgst_(char *vect, char *uplo, integer *n, integer *ka, 
	integer *kb, doublereal_ *ab, integer *ldab, doublereal_ *bb, integer *
	ldbb, doublereal_ *x, integer *ldx, doublereal_ *work, integer *info);

/* Subroutine */ int dsbgv_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, doublereal_ *ab, integer *ldab, doublereal_ *bb, integer *
	ldbb, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dsbgvd_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, doublereal_ *ab, integer *ldab, doublereal_ *bb, integer *
	ldbb, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dsbgvx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *ka, integer *kb, doublereal_ *ab, integer *ldab, doublereal_ *
	bb, integer *ldbb, doublereal_ *q, integer *ldq, doublereal_ *vl, 
	doublereal_ *vu, integer *il, integer *iu, doublereal_ *abstol, integer 
	*m, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int dsbtrd_(char *vect, char *uplo, integer *n, integer *kd, 
	doublereal_ *ab, integer *ldab, doublereal_ *d__, doublereal_ *e, 
	doublereal_ *q, integer *ldq, doublereal_ *work, integer *info);

/* Subroutine */ int dsgesv_(integer *n, integer *nrhs, doublereal_ *a, 
	integer *lda, integer *ipiv, doublereal_ *b, integer *ldb, doublereal_ *
	x, integer *ldx, doublereal_ *work, real_ *swork, integer *iter, 
	integer *info);

/* Subroutine */ int dspcon_(char *uplo, integer *n, doublereal_ *ap, integer *
	ipiv, doublereal_ *anorm, doublereal_ *rcond, doublereal_ *work, integer 
	*iwork, integer *info);

/* Subroutine */ int dspev_(char *jobz, char *uplo, integer *n, doublereal_ *
	ap, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dspevd_(char *jobz, char *uplo, integer *n, doublereal_ *
	ap, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dspevx_(char *jobz, char *range, char *uplo, integer *n, 
	doublereal_ *ap, doublereal_ *vl, doublereal_ *vu, integer *il, integer *
	iu, doublereal_ *abstol, integer *m, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *iwork, integer *ifail, 
	integer *info);

/* Subroutine */ int dspgst_(integer *itype, char *uplo, integer *n, 
	doublereal_ *ap, doublereal_ *bp, integer *info);

/* Subroutine */ int dspgv_(integer *itype, char *jobz, char *uplo, integer *
	n, doublereal_ *ap, doublereal_ *bp, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *info);

/* Subroutine */ int dspgvd_(integer *itype, char *jobz, char *uplo, integer *
	n, doublereal_ *ap, doublereal_ *bp, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int dspgvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, doublereal_ *ap, doublereal_ *bp, doublereal_ *vl, 
	doublereal_ *vu, integer *il, integer *iu, doublereal_ *abstol, integer 
	*m, doublereal_ *w, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int dsprfs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *ap, doublereal_ *afp, integer *ipiv, doublereal_ *b, 
	integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *ferr, 
	doublereal_ *berr, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dspsv_(char *uplo, integer *n, integer *nrhs, doublereal_ 
	*ap, integer *ipiv, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int dspsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublereal_ *ap, doublereal_ *afp, integer *ipiv, doublereal_ *b, 
	integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *rcond, 
	doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dsptrd_(char *uplo, integer *n, doublereal_ *ap, 
	doublereal_ *d__, doublereal_ *e, doublereal_ *tau, integer *info);

/* Subroutine */ int dsptrf_(char *uplo, integer *n, doublereal_ *ap, integer *
	ipiv, integer *info);

/* Subroutine */ int dsptri_(char *uplo, integer *n, doublereal_ *ap, integer *
	ipiv, doublereal_ *work, integer *info);

/* Subroutine */ int dsptrs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *ap, integer *ipiv, doublereal_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int dstebz_(char *range, char *order, integer *n, doublereal_ 
	*vl, doublereal_ *vu, integer *il, integer *iu, doublereal_ *abstol, 
	doublereal_ *d__, doublereal_ *e, integer *m, integer *nsplit, 
	doublereal_ *w, integer *iblock, integer *isplit, doublereal_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int dstedc_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dstegr_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublereal_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dstein_(integer *n, doublereal_ *d__, doublereal_ *e, 
	integer *m, doublereal_ *w, integer *iblock, integer *isplit, 
	doublereal_ *z__, integer *ldz, doublereal_ *work, integer *iwork, 
	integer *ifail, integer *info);

/* Subroutine */ int dstemr_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, integer *m, doublereal_ *w, doublereal_ *z__, integer *ldz,
	 integer *nzc, integer *isuppz, logical *tryrac, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dsteqr_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dsterf_(integer *n, doublereal_ *d__, doublereal_ *e, 
	integer *info);

/* Subroutine */ int dstev_(char *jobz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int dstevd_(char *jobz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublereal_ *z__, integer *ldz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dstevr_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublereal_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dstevx_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublereal_ *z__, integer *ldz, doublereal_ *work, integer *iwork, 
	integer *ifail, integer *info);

/* Subroutine */ int dsycon_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, doublereal_ *anorm, doublereal_ *rcond, doublereal_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int dsyev_(char *jobz, char *uplo, integer *n, doublereal_ *a,
	 integer *lda, doublereal_ *w, doublereal_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int dsyevd_(char *jobz, char *uplo, integer *n, doublereal_ *
	a, integer *lda, doublereal_ *w, doublereal_ *work, integer *lwork, 
	integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dsyevr_(char *jobz, char *range, char *uplo, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *vl, doublereal_ *vu, integer *
	il, integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublereal_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int dsyevx_(char *jobz, char *range, char *uplo, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *vl, doublereal_ *vu, integer *
	il, integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublereal_ *z__, integer *ldz, doublereal_ *work, integer *lwork, 
	integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int dsygs2_(integer *itype, char *uplo, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int dsygst_(integer *itype, char *uplo, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int dsygv_(integer *itype, char *jobz, char *uplo, integer *
	n, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *w, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dsygvd_(integer *itype, char *jobz, char *uplo, integer *
	n, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *w, doublereal_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int dsygvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, doublereal_ *a, integer *lda, doublereal_ *b, integer 
	*ldb, doublereal_ *vl, doublereal_ *vu, integer *il, integer *iu, 
	doublereal_ *abstol, integer *m, doublereal_ *w, doublereal_ *z__, 
	integer *ldz, doublereal_ *work, integer *lwork, integer *iwork, 
	integer *ifail, integer *info);

/* Subroutine */ int dsyrfs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, integer *
	ipiv, doublereal_ *b, integer *ldb, doublereal_ *x, integer *ldx, 
	doublereal_ *ferr, doublereal_ *berr, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dsysv_(char *uplo, integer *n, integer *nrhs, doublereal_ 
	*a, integer *lda, integer *ipiv, doublereal_ *b, integer *ldb, 
	doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dsysvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublereal_ *a, integer *lda, doublereal_ *af, integer *ldaf, 
	integer *ipiv, doublereal_ *b, integer *ldb, doublereal_ *x, integer *
	ldx, doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, 
	doublereal_ *work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int dsytd2_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *d__, doublereal_ *e, doublereal_ *tau, integer *info);

/* Subroutine */ int dsytf2_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, integer *info);

/* Subroutine */ int dsytrd_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *d__, doublereal_ *e, doublereal_ *tau, doublereal_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int dsytrf_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dsytri_(char *uplo, integer *n, doublereal_ *a, integer *
	lda, integer *ipiv, doublereal_ *work, integer *info);

/* Subroutine */ int dsytrs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *a, integer *lda, integer *ipiv, doublereal_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int dtbcon_(char *norm, char *uplo, char *diag, integer *n, 
	integer *kd, doublereal_ *ab, integer *ldab, doublereal_ *rcond, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dtbrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, doublereal_ *ab, integer *ldab, doublereal_ 
	*b, integer *ldb, doublereal_ *x, integer *ldx, doublereal_ *ferr, 
	doublereal_ *berr, doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dtbtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, doublereal_ *ab, integer *ldab, doublereal_ 
	*b, integer *ldb, integer *info);

/* Subroutine */ int dtgevc_(char *side, char *howmny, logical *select, 
	integer *n, doublereal_ *s, integer *lds, doublereal_ *p, integer *ldp, 
	doublereal_ *vl, integer *ldvl, doublereal_ *vr, integer *ldvr, integer 
	*mm, integer *m, doublereal_ *work, integer *info);

/* Subroutine */ int dtgex2_(logical *wantq, logical *wantz, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *
	q, integer *ldq, doublereal_ *z__, integer *ldz, integer *j1, integer *
	n1, integer *n2, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dtgexc_(logical *wantq, logical *wantz, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, doublereal_ *
	q, integer *ldq, doublereal_ *z__, integer *ldz, integer *ifst, 
	integer *ilst, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int dtgsen_(integer *ijob, logical *wantq, logical *wantz, 
	logical *select, integer *n, doublereal_ *a, integer *lda, doublereal_ *
	b, integer *ldb, doublereal_ *alphar, doublereal_ *alphai, doublereal_ *
	beta, doublereal_ *q, integer *ldq, doublereal_ *z__, integer *ldz, 
	integer *m, doublereal_ *pl, doublereal_ *pr, doublereal_ *dif, 
	doublereal_ *work, integer *lwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int dtgsja_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, integer *k, integer *l, doublereal_ *a, 
	integer *lda, doublereal_ *b, integer *ldb, doublereal_ *tola, 
	doublereal_ *tolb, doublereal_ *alpha, doublereal_ *beta, doublereal_ *u, 
	integer *ldu, doublereal_ *v, integer *ldv, doublereal_ *q, integer *
	ldq, doublereal_ *work, integer *ncycle, integer *info);

/* Subroutine */ int dtgsna_(char *job, char *howmny, logical *select, 
	integer *n, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *vl, integer *ldvl, doublereal_ *vr, integer *ldvr, 
	doublereal_ *s, doublereal_ *dif, integer *mm, integer *m, doublereal_ *
	work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int dtgsy2_(char *trans, integer *ijob, integer *m, integer *
	n, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *c__, integer *ldc, doublereal_ *d__, integer *ldd, 
	doublereal_ *e, integer *lde, doublereal_ *f, integer *ldf, doublereal_ *
	scale, doublereal_ *rdsum, doublereal_ *rdscal, integer *iwork, integer 
	*pq, integer *info);

/* Subroutine */ int dtgsyl_(char *trans, integer *ijob, integer *m, integer *
	n, doublereal_ *a, integer *lda, doublereal_ *b, integer *ldb, 
	doublereal_ *c__, integer *ldc, doublereal_ *d__, integer *ldd, 
	doublereal_ *e, integer *lde, doublereal_ *f, integer *ldf, doublereal_ *
	scale, doublereal_ *dif, doublereal_ *work, integer *lwork, integer *
	iwork, integer *info);

/* Subroutine */ int dtpcon_(char *norm, char *uplo, char *diag, integer *n, 
	doublereal_ *ap, doublereal_ *rcond, doublereal_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int dtprfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublereal_ *ap, doublereal_ *b, integer *ldb, 
	doublereal_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dtptri_(char *uplo, char *diag, integer *n, doublereal_ *
	ap, integer *info);

/* Subroutine */ int dtptrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublereal_ *ap, doublereal_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int dtrcon_(char *norm, char *uplo, char *diag, integer *n, 
	doublereal_ *a, integer *lda, doublereal_ *rcond, doublereal_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int dtrevc_(char *side, char *howmny, logical *select, 
	integer *n, doublereal_ *t, integer *ldt, doublereal_ *vl, integer *
	ldvl, doublereal_ *vr, integer *ldvr, integer *mm, integer *m, 
	doublereal_ *work, integer *info);

/* Subroutine */ int dtrexc_(char *compq, integer *n, doublereal_ *t, integer *
	ldt, doublereal_ *q, integer *ldq, integer *ifst, integer *ilst, 
	doublereal_ *work, integer *info);

/* Subroutine */ int dtrrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublereal_ *a, integer *lda, doublereal_ *b, integer *
	ldb, doublereal_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublereal_ *work, integer *iwork, integer *info);

/* Subroutine */ int dtrsen_(char *job, char *compq, logical *select, integer 
	*n, doublereal_ *t, integer *ldt, doublereal_ *q, integer *ldq, 
	doublereal_ *wr, doublereal_ *wi, integer *m, doublereal_ *s, doublereal_ 
	*sep, doublereal_ *work, integer *lwork, integer *iwork, integer *
	liwork, integer *info);

/* Subroutine */ int dtrsna_(char *job, char *howmny, logical *select, 
	integer *n, doublereal_ *t, integer *ldt, doublereal_ *vl, integer *
	ldvl, doublereal_ *vr, integer *ldvr, doublereal_ *s, doublereal_ *sep, 
	integer *mm, integer *m, doublereal_ *work, integer *ldwork, integer *
	iwork, integer *info);

/* Subroutine */ int dtrsyl_(char *trana, char *tranb, integer *isgn, integer 
	*m, integer *n, doublereal_ *a, integer *lda, doublereal_ *b, integer *
	ldb, doublereal_ *c__, integer *ldc, doublereal_ *scale, integer *info);

/* Subroutine */ int dtrti2_(char *uplo, char *diag, integer *n, doublereal_ *
	a, integer *lda, integer *info);

/* Subroutine */ int dtrtri_(char *uplo, char *diag, integer *n, doublereal_ *
	a, integer *lda, integer *info);

/* Subroutine */ int dtrtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublereal_ *a, integer *lda, doublereal_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int dtzrqf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, integer *info);

/* Subroutine */ int dtzrzf_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublereal_ *tau, doublereal_ *work, integer *lwork, integer *info);

/* Subroutine */ int ilaver_(integer *vers_major__, integer *vers_minor__, 
	integer *vers_patch__);

/* Subroutine */ int dgesv_(integer *n, integer *nrhs, doublereal_ *a, integer 
	*lda, integer *ipiv, doublereal_ *b, integer *ldb, integer *info);

/* Subroutine */ int sbdsdc_(char *uplo, char *compq, integer *n, real_ *d__, 
	real_ *e, real_ *u, integer *ldu, real_ *vt, integer *ldvt, real_ *q,  	
	integer *iq, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
	nru, integer *ncc, real_ *d__, real_ *e, real_ *vt, integer *ldvt, real_ *
	u, integer *ldu, real_ *c__, integer *ldc, real_ *work, integer *info);

/* Subroutine */ int sdisna_(char *job, integer *m, integer *n, real_ *d__, 
	real_ *sep, integer *info);

/* Subroutine */ int sgbbrd_(char *vect, integer *m, integer *n, integer *ncc,
	 integer *kl, integer *ku, real_ *ab, integer *ldab, real_ *d__, real_ *
	e, real_ *q, integer *ldq, real_ *pt, integer *ldpt, real_ *c__, integer 
	*ldc, real_ *work, integer *info);

/* Subroutine */ int sgbcon_(char *norm, integer *n, integer *kl, integer *ku,
	 real_ *ab, integer *ldab, integer *ipiv, real_ *anorm, real_ *rcond, 
	real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sgbequ_(integer *m, integer *n, integer *kl, integer *ku,
	 real_ *ab, integer *ldab, real_ *r__, real_ *c__, real_ *rowcnd, real_ *
	colcnd, real_ *amax, integer *info);

/* Subroutine */ int sgbrfs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, real_ *ab, integer *ldab, real_ *afb, integer *ldafb,
	 integer *ipiv, real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *
	ferr, real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sgbsv_(integer *n, integer *kl, integer *ku, integer *
	nrhs, real_ *ab, integer *ldab, integer *ipiv, real_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int sgbsvx_(char *fact, char *trans, integer *n, integer *kl,
	 integer *ku, integer *nrhs, real_ *ab, integer *ldab, real_ *afb, 
	integer *ldafb, integer *ipiv, char *equed, real_ *r__, real_ *c__, 
	real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *rcond, real_ *ferr,
	 real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sgbtf2_(integer *m, integer *n, integer *kl, integer *ku,
	 real_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int sgbtrf_(integer *m, integer *n, integer *kl, integer *ku,
	 real_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int sgbtrs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, real_ *ab, integer *ldab, integer *ipiv, real_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int sgebak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, real_ *scale, integer *m, real_ *v, integer *ldv, integer 
	*info);

/* Subroutine */ int sgebal_(char *job, integer *n, real_ *a, integer *lda, 
	integer *ilo, integer *ihi, real_ *scale, integer *info);

/* Subroutine */ int sgebd2_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *d__, real_ *e, real_ *tauq, real_ *taup, real_ *work, integer *info);

/* Subroutine */ int sgebrd_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *d__, real_ *e, real_ *tauq, real_ *taup, real_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int sgecon_(char *norm, integer *n, real_ *a, integer *lda, 
	real_ *anorm, real_ *rcond, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sgeequ_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *r__, real_ *c__, real_ *rowcnd, real_ *colcnd, real_ *amax, integer 
	*info);

/* Subroutine */ int sgees_(char *jobvs, char *sort, L_fp select, integer *n, 
	real_ *a, integer *lda, integer *sdim, real_ *wr, real_ *wi, real_ *vs, 
	integer *ldvs, real_ *work, integer *lwork, logical *bwork, integer *
	info);

/* Subroutine */ int sgeesx_(char *jobvs, char *sort, L_fp select, char *
	sense, integer *n, real_ *a, integer *lda, integer *sdim, real_ *wr, 
	real_ *wi, real_ *vs, integer *ldvs, real_ *rconde, real_ *rcondv, real_ *
	work, integer *lwork, integer *iwork, integer *liwork, logical *bwork,
	 integer *info);

/* Subroutine */ int sgeev_(char *jobvl, char *jobvr, integer *n, real_ *a, 
	integer *lda, real_ *wr, real_ *wi, real_ *vl, integer *ldvl, real_ *vr,  	
	integer *ldvr, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgeevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, real_ *a, integer *lda, real_ *wr, real_ *wi, real_ *
	vl, integer *ldvl, real_ *vr, integer *ldvr, integer *ilo, integer *
	ihi, real_ *scale, real_ *abnrm, real_ *rconde, real_ *rcondv, real_ *work,
	 integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int sgegs_(char *jobvsl, char *jobvsr, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *alphar, real_ *alphai, real_ 
	*beta, real_ *vsl, integer *ldvsl, real_ *vsr, integer *ldvsr, real_ * 	
	work, integer *lwork, integer *info);

/* Subroutine */ int sgegv_(char *jobvl, char *jobvr, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *alphar, real_ *alphai, real_ 
	*beta, real_ *vl, integer *ldvl, real_ *vr, integer *ldvr, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int sgehd2_(integer *n, integer *ilo, integer *ihi, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgehrd_(integer *n, integer *ilo, integer *ihi, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgelq2_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgelqf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgels_(char *trans, integer *m, integer *n, integer *
	nrhs, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int sgelsd_(integer *m, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *s, real_ *rcond, integer *
	rank, real_ *work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int sgelss_(integer *m, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *s, real_ *rcond, integer *
	rank, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgelsx_(integer *m, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *jpvt, real_ *rcond, 
	integer *rank, real_ *work, integer *info);

/* Subroutine */ int sgelsy_(integer *m, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *jpvt, real_ *rcond, 
	integer *rank, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgeql2_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgeqlf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgeqp3_(integer *m, integer *n, real_ *a, integer *lda, 
	integer *jpvt, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgeqpf_(integer *m, integer *n, real_ *a, integer *lda, 
	integer *jpvt, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgeqr2_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgeqrf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgerfs_(char *trans, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *af, integer *ldaf, integer *ipiv, real_ *b, 
	integer *ldb, real_ *x, integer *ldx, real_ *ferr, real_ *berr, real_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int sgerq2_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sgerqf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgesc2_(integer *n, real_ *a, integer *lda, real_ *rhs, 
	integer *ipiv, integer *jpiv, real_ *scale);

/* Subroutine */ int sgesdd_(char *jobz, integer *m, integer *n, real_ *a, 
	integer *lda, real_ *s, real_ *u, integer *ldu, real_ *vt, integer *ldvt, 	 
	real_ *work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int sgesv_(integer *n, integer *nrhs, real_ *a, integer *lda, 
	integer *ipiv, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sgesvd_(char *jobu, char *jobvt, integer *m, integer *n, 
	real_ *a, integer *lda, real_ *s, real_ *u, integer *ldu, real_ *vt,  	
	integer *ldvt, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgesvx_(char *fact, char *trans, integer *n, integer *
	nrhs, real_ *a, integer *lda, real_ *af, integer *ldaf, integer *ipiv, 
	char *equed, real_ *r__, real_ *c__, real_ *b, integer *ldb, real_ *x, 
	integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, real_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int sgetc2_(integer *n, real_ *a, integer *lda, integer *ipiv,
	 integer *jpiv, integer *info);

/* Subroutine */ int sgetf2_(integer *m, integer *n, real_ *a, integer *lda, 
	integer *ipiv, integer *info);

/* Subroutine */ int sgetrf_(integer *m, integer *n, real_ *a, integer *lda, 
	integer *ipiv, integer *info);

/* Subroutine */ int sgetri_(integer *n, real_ *a, integer *lda, integer *ipiv,
	 real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgetrs_(char *trans, integer *n, integer *nrhs, real_ *a, 
	integer *lda, integer *ipiv, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sggbak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, real_ *lscale, real_ *rscale, integer *m, real_ *v, 
	integer *ldv, integer *info);

/* Subroutine */ int sggbal_(char *job, integer *n, real_ *a, integer *lda, 
	real_ *b, integer *ldb, integer *ilo, integer *ihi, real_ *lscale, real_ 
	*rscale, real_ *work, integer *info);

/* Subroutine */ int sgges_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, 
	integer *sdim, real_ *alphar, real_ *alphai, real_ *beta, real_ *vsl, 
	integer *ldvsl, real_ *vsr, integer *ldvsr, real_ *work, integer *lwork,
	 logical *bwork, integer *info);

/* Subroutine */ int sggesx_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, char *sense, integer *n, real_ *a, integer *lda, real_ *b, 
	integer *ldb, integer *sdim, real_ *alphar, real_ *alphai, real_ *beta, 
	real_ *vsl, integer *ldvsl, real_ *vsr, integer *ldvsr, real_ *rconde, 
	real_ *rcondv, real_ *work, integer *lwork, integer *iwork, integer * 	
	liwork, logical *bwork, integer *info);

/* Subroutine */ int sggev_(char *jobvl, char *jobvr, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *alphar, real_ *alphai, real_ 
	*beta, real_ *vl, integer *ldvl, real_ *vr, integer *ldvr, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int sggevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ 
	*alphar, real_ *alphai, real_ *beta, real_ *vl, integer *ldvl, real_ *vr, 
	integer *ldvr, integer *ilo, integer *ihi, real_ *lscale, real_ *rscale,
	 real_ *abnrm, real_ *bbnrm, real_ *rconde, real_ *rcondv, real_ *work,  	
	integer *lwork, integer *iwork, logical *bwork, integer *info);

/* Subroutine */ int sggglm_(integer *n, integer *m, integer *p, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *d__, real_ *x, real_ *y, 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sgghrd_(char *compq, char *compz, integer *n, integer *
	ilo, integer *ihi, real_ *a, integer *lda, real_ *b, integer *ldb, real_ 
	*q, integer *ldq, real_ *z__, integer *ldz, integer *info);

/* Subroutine */ int sgglse_(integer *m, integer *n, integer *p, real_ *a, 
	integer *lda, real_ *b, integer *ldb, real_ *c__, real_ *d__, real_ *x, 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sggqrf_(integer *n, integer *m, integer *p, real_ *a, 
	integer *lda, real_ *taua, real_ *b, integer *ldb, real_ *taub, real_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int sggrqf_(integer *m, integer *p, integer *n, real_ *a, 
	integer *lda, real_ *taua, real_ *b, integer *ldb, real_ *taub, real_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int sggsvd_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *n, integer *p, integer *k, integer *l, real_ *a, integer *lda,
	 real_ *b, integer *ldb, real_ *alpha, real_ *beta, real_ *u, integer *
	ldu, real_ *v, integer *ldv, real_ *q, integer *ldq, real_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int sggsvp_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, 
	real_ *tola, real_ *tolb, integer *k, integer *l, real_ *u, integer *ldu,
	 real_ *v, integer *ldv, real_ *q, integer *ldq, integer *iwork, real_ *
	tau, real_ *work, integer *info);

/* Subroutine */ int sgtcon_(char *norm, integer *n, real_ *dl, real_ *d__, 
	real_ *du, real_ *du2, integer *ipiv, real_ *anorm, real_ *rcond, real_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int sgtrfs_(char *trans, integer *n, integer *nrhs, real_ *dl,
	 real_ *d__, real_ *du, real_ *dlf, real_ *df, real_ *duf, real_ *du2, 
	integer *ipiv, real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *
	ferr, real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sgtsv_(integer *n, integer *nrhs, real_ *dl, real_ *d__, 
	real_ *du, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sgtsvx_(char *fact, char *trans, integer *n, integer *
	nrhs, real_ *dl, real_ *d__, real_ *du, real_ *dlf, real_ *df, real_ *duf, 
	real_ *du2, integer *ipiv, real_ *b, integer *ldb, real_ *x, integer *
	ldx, real_ *rcond, real_ *ferr, real_ *berr, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int sgttrf_(integer *n, real_ *dl, real_ *d__, real_ *du, real_ *
	du2, integer *ipiv, integer *info);

/* Subroutine */ int sgttrs_(char *trans, integer *n, integer *nrhs, real_ *dl,
	 real_ *d__, real_ *du, real_ *du2, integer *ipiv, real_ *b, integer *ldb,
	 integer *info);

/* Subroutine */ int sgtts2_(integer *itrans, integer *n, integer *nrhs, real_ 
	*dl, real_ *d__, real_ *du, real_ *du2, integer *ipiv, real_ *b, integer *
	ldb);

/* Subroutine */ int shgeqz_(char *job, char *compq, char *compz, integer *n, 
	integer *ilo, integer *ihi, real_ *h__, integer *ldh, real_ *t, integer 
	*ldt, real_ *alphar, real_ *alphai, real_ *beta, real_ *q, integer *ldq, 
	real_ *z__, integer *ldz, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int shsein_(char *side, char *eigsrc, char *initv, logical *
	select, integer *n, real_ *h__, integer *ldh, real_ *wr, real_ *wi, real_ 
	*vl, integer *ldvl, real_ *vr, integer *ldvr, integer *mm, integer *m, 
	real_ *work, integer *ifaill, integer *ifailr, integer *info);

/* Subroutine */ int shseqr_(char *job, char *compz, integer *n, integer *ilo,
	 integer *ihi, real_ *h__, integer *ldh, real_ *wr, real_ *wi, real_ *z__, 	 
	integer *ldz, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int slabad_(real_ *small, real_ *large);

/* Subroutine */ int slabrd_(integer *m, integer *n, integer *nb, real_ *a, 
	integer *lda, real_ *d__, real_ *e, real_ *tauq, real_ *taup, real_ *x, 
	integer *ldx, real_ *y, integer *ldy);

/* Subroutine */ int slacn2_(integer *n, real_ *v, real_ *x, integer *isgn, 
	real_ *est, integer *kase, integer *isave);

/* Subroutine */ int slacon_(integer *n, real_ *v, real_ *x, integer *isgn, 
	real_ *est, integer *kase);

/* Subroutine */ int slacpy_(char *uplo, integer *m, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb);

/* Subroutine */ int sladiv_(real_ *a, real_ *b, real_ *c__, real_ *d__, real_ *p, 
	real_ *q);

/* Subroutine */ int slae2_(real_ *a, real_ *b, real_ *c__, real_ *rt1, real_ *rt2);

/* Subroutine */ int slaebz_(integer *ijob, integer *nitmax, integer *n, 
	integer *mmax, integer *minp, integer *nbmin, real_ *abstol, real_ *
	reltol, real_ *pivmin, real_ *d__, real_ *e, real_ *e2, integer *nval, 
	real_ *ab, real_ *c__, integer *mout, integer *nab, real_ *work, integer 
	*iwork, integer *info);

/* Subroutine */ int slaed0_(integer *icompq, integer *qsiz, integer *n, real_ 
	*d__, real_ *e, real_ *q, integer *ldq, real_ *qstore, integer *ldqs, 
	real_ *work, integer *iwork, integer *info);

/* Subroutine */ int slaed1_(integer *n, real_ *d__, real_ *q, integer *ldq, 
	integer *indxq, real_ *rho, integer *cutpnt, real_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int slaed2_(integer *k, integer *n, integer *n1, real_ *d__, 
	real_ *q, integer *ldq, integer *indxq, real_ *rho, real_ *z__, real_ *
	dlamda, real_ *w, real_ *q2, integer *indx, integer *indxc, integer *
	indxp, integer *coltyp, integer *info);

/* Subroutine */ int slaed3_(integer *k, integer *n, integer *n1, real_ *d__, 
	real_ *q, integer *ldq, real_ *rho, real_ *dlamda, real_ *q2, integer *
	indx, integer *ctot, real_ *w, real_ *s, integer *info);

/* Subroutine */ int slaed4_(integer *n, integer *i__, real_ *d__, real_ *z__, 
	real_ *delta, real_ *rho, real_ *dlam, integer *info);

/* Subroutine */ int slaed5_(integer *i__, real_ *d__, real_ *z__, real_ *delta, 
	real_ *rho, real_ *dlam);

/* Subroutine */ int slaed6_(integer *kniter, logical *orgati, real_ *rho, 
	real_ *d__, real_ *z__, real_ *finit, real_ *tau, integer *info);

/* Subroutine */ int slaed7_(integer *icompq, integer *n, integer *qsiz, 
	integer *tlvls, integer *curlvl, integer *curpbm, real_ *d__, real_ *q, 
	integer *ldq, integer *indxq, real_ *rho, integer *cutpnt, real_ *
	qstore, integer *qptr, integer *prmptr, integer *perm, integer *
	givptr, integer *givcol, real_ *givnum, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int slaed8_(integer *icompq, integer *k, integer *n, integer 
	*qsiz, real_ *d__, real_ *q, integer *ldq, integer *indxq, real_ *rho, 
	integer *cutpnt, real_ *z__, real_ *dlamda, real_ *q2, integer *ldq2, 
	real_ *w, integer *perm, integer *givptr, integer *givcol, real_ *
	givnum, integer *indxp, integer *indx, integer *info);

/* Subroutine */ int slaed9_(integer *k, integer *kstart, integer *kstop, 
	integer *n, real_ *d__, real_ *q, integer *ldq, real_ *rho, real_ *dlamda,
	 real_ *w, real_ *s, integer *lds, integer *info);

/* Subroutine */ int slaeda_(integer *n, integer *tlvls, integer *curlvl, 
	integer *curpbm, integer *prmptr, integer *perm, integer *givptr, 
	integer *givcol, real_ *givnum, real_ *q, integer *qptr, real_ *z__, 
	real_ *ztemp, integer *info);

/* Subroutine */ int slaein_(logical *rightv, logical *noinit, integer *n, 
	real_ *h__, integer *ldh, real_ *wr, real_ *wi, real_ *vr, real_ *vi, real_ 
	*b, integer *ldb, real_ *work, real_ *eps3, real_ *smlnum, real_ *bignum, 
	integer *info);

/* Subroutine */ int slaev2_(real_ *a, real_ *b, real_ *c__, real_ *rt1, real_ *
	rt2, real_ *cs1, real_ *sn1);

/* Subroutine */ int slaexc_(logical *wantq, integer *n, real_ *t, integer *
	ldt, real_ *q, integer *ldq, integer *j1, integer *n1, integer *n2, 
	real_ *work, integer *info);

/* Subroutine */ int slag2_(real_ *a, integer *lda, real_ *b, integer *ldb, 
	real_ *safmin, real_ *scale1, real_ *scale2, real_ *wr1, real_ *wr2, real_ *
	wi);

/* Subroutine */ int slag2d_(integer *m, integer *n, real_ *sa, integer *ldsa, 
	doublereal_ *a, integer *lda, integer *info);

/* Subroutine */ int slags2_(logical *upper, real_ *a1, real_ *a2, real_ *a3, 
	real_ *b1, real_ *b2, real_ *b3, real_ *csu, real_ *snu, real_ *csv, real_ *
	snv, real_ *csq, real_ *snq);

/* Subroutine */ int slagtf_(integer *n, real_ *a, real_ *lambda, real_ *b, real_ 
	*c__, real_ *tol, real_ *d__, integer *in, integer *info);

/* Subroutine */ int slagtm_(char *trans, integer *n, integer *nrhs, real_ *
	alpha, real_ *dl, real_ *d__, real_ *du, real_ *x, integer *ldx, real_ *
	beta, real_ *b, integer *ldb);

/* Subroutine */ int slagts_(integer *job, integer *n, real_ *a, real_ *b, real_ 
	*c__, real_ *d__, integer *in, real_ *y, real_ *tol, integer *info);

/* Subroutine */ int slagv2_(real_ *a, integer *lda, real_ *b, integer *ldb, 
	real_ *alphar, real_ *alphai, real_ *beta, real_ *csl, real_ *snl, real_ *
	csr, real_ *snr);

/* Subroutine */ int slahqr_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, real_ *h__, integer *ldh, real_ *wr, real_ *
	wi, integer *iloz, integer *ihiz, real_ *z__, integer *ldz, integer *
	info);

/* Subroutine */ int slahr2_(integer *n, integer *k, integer *nb, real_ *a, 
	integer *lda, real_ *tau, real_ *t, integer *ldt, real_ *y, integer *ldy);

/* Subroutine */ int slahrd_(integer *n, integer *k, integer *nb, real_ *a, 
	integer *lda, real_ *tau, real_ *t, integer *ldt, real_ *y, integer *ldy);

/* Subroutine */ int slaic1_(integer *job, integer *j, real_ *x, real_ *sest, 
	real_ *w, real_ *gamma, real_ *sestpr, real_ *s, real_ *c__);

/* Subroutine */ int slaln2_(logical *ltrans, integer *na, integer *nw, real_ *
	smin, real_ *ca, real_ *a, integer *lda, real_ *d1, real_ *d2, real_ *b, 
	integer *ldb, real_ *wr, real_ *wi, real_ *x, integer *ldx, real_ *scale, 
	real_ *xnorm, integer *info);

/* Subroutine */ int slals0_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *nrhs, real_ *b, integer *ldb, real_ *bx, 
	integer *ldbx, integer *perm, integer *givptr, integer *givcol, 
	integer *ldgcol, real_ *givnum, integer *ldgnum, real_ *poles, real_ *
	difl, real_ *difr, real_ *z__, integer *k, real_ *c__, real_ *s, real_ *
	work, integer *info);

/* Subroutine */ int slalsa_(integer *icompq, integer *smlsiz, integer *n, 
	integer *nrhs, real_ *b, integer *ldb, real_ *bx, integer *ldbx, real_ *
	u, integer *ldu, real_ *vt, integer *k, real_ *difl, real_ *difr, real_ *
	z__, real_ *poles, integer *givptr, integer *givcol, integer *ldgcol, 
	integer *perm, real_ *givnum, real_ *c__, real_ *s, real_ *work, integer *
	iwork, integer *info);

/* Subroutine */ int slalsd_(char *uplo, integer *smlsiz, integer *n, integer 
	*nrhs, real_ *d__, real_ *e, real_ *b, integer *ldb, real_ *rcond, 
	integer *rank, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int slamrg_(integer *n1, integer *n2, real_ *a, integer *
	strd1, integer *strd2, integer *index);

/* Subroutine */ int slanv2_(real_ *a, real_ *b, real_ *c__, real_ *d__, real_ *
	rt1r, real_ *rt1i, real_ *rt2r, real_ *rt2i, real_ *cs, real_ *sn);

/* Subroutine */ int slapll_(integer *n, real_ *x, integer *incx, real_ *y, 
	integer *incy, real_ *ssmin);

/* Subroutine */ int slapmt_(logical *forwrd, integer *m, integer *n, real_ *x,
	 integer *ldx, integer *k);

/* Subroutine */ int slaqgb_(integer *m, integer *n, integer *kl, integer *ku,
	 real_ *ab, integer *ldab, real_ *r__, real_ *c__, real_ *rowcnd, real_ *
	colcnd, real_ *amax, char *equed);

/* Subroutine */ int slaqge_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *r__, real_ *c__, real_ *rowcnd, real_ *colcnd, real_ *amax, char *
	equed);

/* Subroutine */ int slaqp2_(integer *m, integer *n, integer *offset, real_ *a,
	 integer *lda, integer *jpvt, real_ *tau, real_ *vn1, real_ *vn2, real_ *
	work);

/* Subroutine */ int slaqps_(integer *m, integer *n, integer *offset, integer 
	*nb, integer *kb, real_ *a, integer *lda, integer *jpvt, real_ *tau, 
	real_ *vn1, real_ *vn2, real_ *auxv, real_ *f, integer *ldf);

/* Subroutine */ int slaqr0_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, real_ *h__, integer *ldh, real_ *wr, real_ *
	wi, integer *iloz, integer *ihiz, real_ *z__, integer *ldz, real_ *work,
	 integer *lwork, integer *info);

/* Subroutine */ int slaqr1_(integer *n, real_ *h__, integer *ldh, real_ *sr1, 
	real_ *si1, real_ *sr2, real_ *si2, real_ *v);

/* Subroutine */ int slaqr2_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, real_ *h__, integer *ldh, 
	integer *iloz, integer *ihiz, real_ *z__, integer *ldz, integer *ns, 
	integer *nd, real_ *sr, real_ *si, real_ *v, integer *ldv, integer *nh, 
	real_ *t, integer *ldt, integer *nv, real_ *wv, integer *ldwv, real_ *
	work, integer *lwork);

/* Subroutine */ int slaqr3_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, real_ *h__, integer *ldh, 
	integer *iloz, integer *ihiz, real_ *z__, integer *ldz, integer *ns, 
	integer *nd, real_ *sr, real_ *si, real_ *v, integer *ldv, integer *nh, 
	real_ *t, integer *ldt, integer *nv, real_ *wv, integer *ldwv, real_ *
	work, integer *lwork);

/* Subroutine */ int slaqr4_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, real_ *h__, integer *ldh, real_ *wr, real_ *
	wi, integer *iloz, integer *ihiz, real_ *z__, integer *ldz, real_ *work,
	 integer *lwork, integer *info);

/* Subroutine */ int slaqr5_(logical *wantt, logical *wantz, integer *kacc22, 
	integer *n, integer *ktop, integer *kbot, integer *nshfts, real_ *sr, 
	real_ *si, real_ *h__, integer *ldh, integer *iloz, integer *ihiz, real_ 
	*z__, integer *ldz, real_ *v, integer *ldv, real_ *u, integer *ldu, 
	integer *nv, real_ *wv, integer *ldwv, integer *nh, real_ *wh, integer *
	ldwh);

/* Subroutine */ int slaqsb_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, real_ *s, real_ *scond, real_ *amax, char *equed  	);

/* Subroutine */ int slaqsp_(char *uplo, integer *n, real_ *ap, real_ *s, real_ *
	scond, real_ *amax, char *equed);

/* Subroutine */ int slaqsy_(char *uplo, integer *n, real_ *a, integer *lda, 
	real_ *s, real_ *scond, real_ *amax, char *equed);

/* Subroutine */ int slaqtr_(logical *ltran, logical *lreal_, integer *n, real_ 
	*t, integer *ldt, real_ *b, real_ *w, real_ *scale, real_ *x, real_ *work, 
	integer *info);

/* Subroutine */ int slar1v_(integer *n, integer *b1, integer *bn, real_ *
	lambda, real_ *d__, real_ *l, real_ *ld, real_ *lld, real_ *pivmin, real_ *
	gaptol, real_ *z__, logical *wantnc, integer *negcnt, real_ *ztz, real_ *
	mingma, integer *r__, integer *isuppz, real_ *nrminv, real_ *resid, 
	real_ *rqcorr, real_ *work);

/* Subroutine */ int slar2v_(integer *n, real_ *x, real_ *y, real_ *z__, integer 
	*incx, real_ *c__, real_ *s, integer *incc);

/* Subroutine */ int slarf_(char *side, integer *m, integer *n, real_ *v, 
	integer *incv, real_ *tau, real_ *c__, integer *ldc, real_ *work  	);

/* Subroutine */ int slarfb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, real_ *v, integer *ldv, 
	real_ *t, integer *ldt, real_ *c__, integer *ldc, real_ *work, integer *
	ldwork  	);

/* Subroutine */ int slarfg_(integer *n, real_ *alpha, real_ *x, integer *incx, 
	real_ *tau);

/* Subroutine */ int slarft_(char *direct, char *storev, integer *n, integer *
	k, real_ *v, integer *ldv, real_ *tau, real_ *t, integer *ldt  	);

/* Subroutine */ int slarfx_(char *side, integer *m, integer *n, real_ *v, 
	real_ *tau, real_ *c__, integer *ldc, real_ *work);

/* Subroutine */ int slargv_(integer *n, real_ *x, integer *incx, real_ *y, 
	integer *incy, real_ *c__, integer *incc);

/* Subroutine */ int slarnv_(integer *idist, integer *iseed, integer *n, real_ 
	*x);

/* Subroutine */ int slarra_(integer *n, real_ *d__, real_ *e, real_ *e2, real_ *
	spltol, real_ *tnrm, integer *nsplit, integer *isplit, integer *info);

/* Subroutine */ int slarrb_(integer *n, real_ *d__, real_ *lld, integer *
	ifirst, integer *ilast, real_ *rtol1, real_ *rtol2, integer *offset, 
	real_ *w, real_ *wgap, real_ *werr, real_ *work, integer *iwork, real_ *
	pivmin, real_ *spdiam, integer *twist, integer *info);

/* Subroutine */ int slarrc_(char *jobt, integer *n, real_ *vl, real_ *vu, real_ 
	*d__, real_ *e, real_ *pivmin, integer *eigcnt, integer *lcnt, integer *
	rcnt, integer *info);

/* Subroutine */ int slarrd_(char *range, char *order, integer *n, real_ *vl, 
	real_ *vu, integer *il, integer *iu, real_ *gers, real_ *reltol, real_ *
	d__, real_ *e, real_ *e2, real_ *pivmin, integer *nsplit, integer *
	isplit, integer *m, real_ *w, real_ *werr, real_ *wl, real_ *wu, integer *
	iblock, integer *indexw, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int slarre_(char *range, integer *n, real_ *vl, real_ *vu, 
	integer *il, integer *iu, real_ *d__, real_ *e, real_ *e2, real_ *rtol1, 
	real_ *rtol2, real_ *spltol, integer *nsplit, integer *isplit, integer *
	m, real_ *w, real_ *werr, real_ *wgap, integer *iblock, integer *indexw, 
	real_ *gers, real_ *pivmin, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int slarrf_(integer *n, real_ *d__, real_ *l, real_ *ld, 
	integer *clstrt, integer *clend, real_ *w, real_ *wgap, real_ *werr, 
	real_ *spdiam, real_ *clgapl, real_ *clgapr, real_ *pivmin, real_ *sigma, 
	real_ *dplus, real_ *lplus, real_ *work, integer *info);

/* Subroutine */ int slarrj_(integer *n, real_ *d__, real_ *e2, integer *ifirst,
	 integer *ilast, real_ *rtol, integer *offset, real_ *w, real_ *werr, 
	real_ *work, integer *iwork, real_ *pivmin, real_ *spdiam, integer *info);

/* Subroutine */ int slarrk_(integer *n, integer *iw, real_ *gl, real_ *gu, 
	real_ *d__, real_ *e2, real_ *pivmin, real_ *reltol, real_ *w, real_ *werr, 
	integer *info);

/* Subroutine */ int slarrr_(integer *n, real_ *d__, real_ *e, integer *info);

/* Subroutine */ int slarrv_(integer *n, real_ *vl, real_ *vu, real_ *d__, real_ *
	l, real_ *pivmin, integer *isplit, integer *m, integer *dol, integer *
	dou, real_ *minrgp, real_ *rtol1, real_ *rtol2, real_ *w, real_ *werr, 
	real_ *wgap, integer *iblock, integer *indexw, real_ *gers, real_ *z__, 
	integer *ldz, integer *isuppz, real_ *work, integer *iwork, integer *
	info);

/* Subroutine */ int slartg_(real_ *f, real_ *g, real_ *cs, real_ *sn, real_ *r__);

/* Subroutine */ int slartv_(integer *n, real_ *x, integer *incx, real_ *y, 
	integer *incy, real_ *c__, real_ *s, integer *incc);

/* Subroutine */ int slaruv_(integer *iseed, integer *n, real_ *x);

/* Subroutine */ int slarz_(char *side, integer *m, integer *n, integer *l, 
	real_ *v, integer *incv, real_ *tau, real_ *c__, integer *ldc, real_ *
	work);

/* Subroutine */ int slarzb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, integer *l, real_ *v, 
	integer *ldv, real_ *t, integer *ldt, real_ *c__, integer *ldc, real_ *
	work, integer *ldwork  	);

/* Subroutine */ int slarzt_(char *direct, char *storev, integer *n, integer *
	k, real_ *v, integer *ldv, real_ *tau, real_ *t, integer *ldt  	);

/* Subroutine */ int slas2_(real_ *f, real_ *g, real_ *h__, real_ *ssmin, real_ *
	ssmax);

/* Subroutine */ int slascl_(char *type__, integer *kl, integer *ku, real_ *
	cfrom, real_ *cto, integer *m, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int slasd0_(integer *n, integer *sqre, real_ *d__, real_ *e, 
	real_ *u, integer *ldu, real_ *vt, integer *ldvt, integer *smlsiz, 
	integer *iwork, real_ *work, integer *info);

/* Subroutine */ int slasd1_(integer *nl, integer *nr, integer *sqre, real_ *
	d__, real_ *alpha, real_ *beta, real_ *u, integer *ldu, real_ *vt, 
	integer *ldvt, integer *idxq, integer *iwork, real_ *work, integer *
	info);

/* Subroutine */ int slasd2_(integer *nl, integer *nr, integer *sqre, integer 
	*k, real_ *d__, real_ *z__, real_ *alpha, real_ *beta, real_ *u, integer *
	ldu, real_ *vt, integer *ldvt, real_ *dsigma, real_ *u2, integer *ldu2, 
	real_ *vt2, integer *ldvt2, integer *idxp, integer *idx, integer *idxc,
	 integer *idxq, integer *coltyp, integer *info);

/* Subroutine */ int slasd3_(integer *nl, integer *nr, integer *sqre, integer 
	*k, real_ *d__, real_ *q, integer *ldq, real_ *dsigma, real_ *u, integer *
	ldu, real_ *u2, integer *ldu2, real_ *vt, integer *ldvt, real_ *vt2, 
	integer *ldvt2, integer *idxc, integer *ctot, real_ *z__, integer *
	info);

/* Subroutine */ int slasd4_(integer *n, integer *i__, real_ *d__, real_ *z__, 
	real_ *delta, real_ *rho, real_ *sigma, real_ *work, integer *info);

/* Subroutine */ int slasd5_(integer *i__, real_ *d__, real_ *z__, real_ *delta, 
	real_ *rho, real_ *dsigma, real_ *work);

/* Subroutine */ int slasd6_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, real_ *d__, real_ *vf, real_ *vl, real_ *alpha, real_ *beta,
	 integer *idxq, integer *perm, integer *givptr, integer *givcol, 
	integer *ldgcol, real_ *givnum, integer *ldgnum, real_ *poles, real_ *
	difl, real_ *difr, real_ *z__, integer *k, real_ *c__, real_ *s, real_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int slasd7_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *k, real_ *d__, real_ *z__, real_ *zw, real_ *vf, 
	real_ *vfw, real_ *vl, real_ *vlw, real_ *alpha, real_ *beta, real_ *dsigma,
	 integer *idx, integer *idxp, integer *idxq, integer *perm, integer *
	givptr, integer *givcol, integer *ldgcol, real_ *givnum, integer *
	ldgnum, real_ *c__, real_ *s, integer *info);

/* Subroutine */ int slasd8_(integer *icompq, integer *k, real_ *d__, real_ *
	z__, real_ *vf, real_ *vl, real_ *difl, real_ *difr, integer *lddifr, 
	real_ *dsigma, real_ *work, integer *info);

/* Subroutine */ int slasd9_(integer *icompq, integer *ldu, integer *k, real_ *
	d__, real_ *z__, real_ *vf, real_ *vl, real_ *difl, real_ *difr, real_ *
	dsigma, real_ *work, integer *info);

/* Subroutine */ int slasda_(integer *icompq, integer *smlsiz, integer *n, 
	integer *sqre, real_ *d__, real_ *e, real_ *u, integer *ldu, real_ *vt, 
	integer *k, real_ *difl, real_ *difr, real_ *z__, real_ *poles, integer *
	givptr, integer *givcol, integer *ldgcol, integer *perm, real_ *givnum,
	 real_ *c__, real_ *s, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int slasdq_(char *uplo, integer *sqre, integer *n, integer *
	ncvt, integer *nru, integer *ncc, real_ *d__, real_ *e, real_ *vt, 
	integer *ldvt, real_ *u, integer *ldu, real_ *c__, integer *ldc, real_ *
	work, integer *info);

/* Subroutine */ int slasdt_(integer *n, integer *lvl, integer *nd, integer *
	inode, integer *ndiml, integer *ndimr, integer *msub);

/* Subroutine */ int slaset_(char *uplo, integer *m, integer *n, real_ *alpha, 
	real_ *beta, real_ *a, integer *lda);

/* Subroutine */ int slasq1_(integer *n, real_ *d__, real_ *e, real_ *work, 
	integer *info);

/* Subroutine */ int slasq2_(integer *n, real_ *z__, integer *info);

/* Subroutine */ int slasq3_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 real_ *dmin__, real_ *sigma, real_ *desig, real_ *qmax, integer *nfail, 
	integer *iter, integer *ndiv, logical *ieee);

/* Subroutine */ int slasq4_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 integer *n0in, real_ *dmin__, real_ *dmin1, real_ *dmin2, real_ *dn, 
	real_ *dn1, real_ *dn2, real_ *tau, integer *ttype);

/* Subroutine */ int slasq5_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 real_ *tau, real_ *dmin__, real_ *dmin1, real_ *dmin2, real_ *dn, real_ *
	dnm1, real_ *dnm2, logical *ieee);

/* Subroutine */ int slasq6_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 real_ *dmin__, real_ *dmin1, real_ *dmin2, real_ *dn, real_ *dnm1, real_ *
	dnm2);

/* Subroutine */ int slasr_(char *side, char *pivot, char *direct, integer *m,
	 integer *n, real_ *c__, real_ *s, real_ *a, integer *lda  	);

/* Subroutine */ int slasrt_(char *id, integer *n, real_ *d__, integer *info);

/* Subroutine */ int slassq_(integer *n, real_ *x, integer *incx, real_ *scale, 
	real_ *sumsq);

/* Subroutine */ int slasv2_(real_ *f, real_ *g, real_ *h__, real_ *ssmin, real_ *
	ssmax, real_ *snr, real_ *csr, real_ *snl, real_ *csl);

/* Subroutine */ int slaswp_(integer *n, real_ *a, integer *lda, integer *k1, 
	integer *k2, integer *ipiv, integer *incx);

/* Subroutine */ int slasy2_(logical *ltranl, logical *ltranr, integer *isgn, 
	integer *n1, integer *n2, real_ *tl, integer *ldtl, real_ *tr, integer *
	ldtr, real_ *b, integer *ldb, real_ *scale, real_ *x, integer *ldx, real_ 
	*xnorm, integer *info);

/* Subroutine */ int slasyf_(char *uplo, integer *n, integer *nb, integer *kb,
	 real_ *a, integer *lda, integer *ipiv, real_ *w, integer *ldw, integer 
	*info);

/* Subroutine */ int slatbs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, integer *kd, real_ *ab, integer *ldab, real_ *x, 
	real_ *scale, real_ *cnorm, integer *info);

/* Subroutine */ int slatdf_(integer *ijob, integer *n, real_ *z__, integer *
	ldz, real_ *rhs, real_ *rdsum, real_ *rdscal, integer *ipiv, integer *
	jpiv);

/* Subroutine */ int slatps_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, real_ *ap, real_ *x, real_ *scale, real_ *cnorm, 
	integer *info);

/* Subroutine */ int slatrd_(char *uplo, integer *n, integer *nb, real_ *a, 
	integer *lda, real_ *e, real_ *tau, real_ *w, integer *ldw  	);

/* Subroutine */ int slatrs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, real_ *a, integer *lda, real_ *x, real_ *scale, real_ 
	*cnorm, integer *info);

/* Subroutine */ int slatrz_(integer *m, integer *n, integer *l, real_ *a, 
	integer *lda, real_ *tau, real_ *work);

/* Subroutine */ int slatzm_(char *side, integer *m, integer *n, real_ *v, 
	integer *incv, real_ *tau, real_ *c1, real_ *c2, integer *ldc, real_ *
	work);

/* Subroutine */ int slauu2_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int slauum_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int slazq3_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 real_ *dmin__, real_ *sigma, real_ *desig, real_ *qmax, integer *nfail, 
	integer *iter, integer *ndiv, logical *ieee, integer *ttype, real_ *
	dmin1, real_ *dmin2, real_ *dn, real_ *dn1, real_ *dn2, real_ *tau);

/* Subroutine */ int slazq4_(integer *i0, integer *n0, real_ *z__, integer *pp,
	 integer *n0in, real_ *dmin__, real_ *dmin1, real_ *dmin2, real_ *dn, 
	real_ *dn1, real_ *dn2, real_ *tau, integer *ttype, real_ *g);

/* Subroutine */ int sopgtr_(char *uplo, integer *n, real_ *ap, real_ *tau, 
	real_ *q, integer *ldq, real_ *work, integer *info);

/* Subroutine */ int sopmtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, real_ *ap, real_ *tau, real_ *c__, integer *ldc, real_ *work, 
	integer *info);

/* Subroutine */ int sorg2l_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sorg2r_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sorgbr_(char *vect, integer *m, integer *n, integer *k, 
	real_ *a, integer *lda, real_ *tau, real_ *work, integer *lwork, integer 
	*info);

/* Subroutine */ int sorghr_(integer *n, integer *ilo, integer *ihi, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorgl2_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sorglq_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorgql_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorgqr_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorgr2_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *info);

/* Subroutine */ int sorgrq_(integer *m, integer *n, integer *k, real_ *a, 
	integer *lda, real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorgtr_(char *uplo, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorm2l_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc,
	 real_ *work, integer *info);

/* Subroutine */ int sorm2r_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc,
	 real_ *work, integer *info);

/* Subroutine */ int sormbr_(char *vect, char *side, char *trans, integer *m, 
	integer *n, integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__,  	
	integer *ldc, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormhr_(char *side, char *trans, integer *m, integer *n, 
	integer *ilo, integer *ihi, real_ *a, integer *lda, real_ *tau, real_ * 	
	c__, integer *ldc, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sorml2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc,
	 real_ *work, integer *info);

/* Subroutine */ int sormlq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc, 	 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormql_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc, 	 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormqr_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc, 	 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormr2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc,
	 real_ *work, integer *info);

/* Subroutine */ int sormr3_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, real_ *a, integer *lda, real_ *tau, real_ *c__, 
	integer *ldc, real_ *work, integer *info);

/* Subroutine */ int sormrq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc, 	 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormrz_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, real_ *a, integer *lda, real_ *tau, real_ *c__,  	
	integer *ldc, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int sormtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, real_ *a, integer *lda, real_ *tau, real_ *c__, integer *ldc, 	 
	real_ *work, integer *lwork, integer *info);

/* Subroutine */ int spbcon_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, real_ *anorm, real_ *rcond, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int spbequ_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, real_ *s, real_ *scond, real_ *amax, integer *info);

/* Subroutine */ int spbrfs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, real_ *ab, integer *ldab, real_ *afb, integer *ldafb, real_ *b, 
	integer *ldb, real_ *x, integer *ldx, real_ *ferr, real_ *berr, real_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int spbstf_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, integer *info);

/* Subroutine */ int spbsv_(char *uplo, integer *n, integer *kd, integer *
	nrhs, real_ *ab, integer *ldab, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int spbsvx_(char *fact, char *uplo, integer *n, integer *kd, 
	integer *nrhs, real_ *ab, integer *ldab, real_ *afb, integer *ldafb, 
	char *equed, real_ *s, real_ *b, integer *ldb, real_ *x, integer *ldx, 
	real_ *rcond, real_ *ferr, real_ *berr, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int spbtf2_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, integer *info);

/* Subroutine */ int spbtrf_(char *uplo, integer *n, integer *kd, real_ *ab, 
	integer *ldab, integer *info);

/* Subroutine */ int spbtrs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, real_ *ab, integer *ldab, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int spocon_(char *uplo, integer *n, real_ *a, integer *lda, 
	real_ *anorm, real_ *rcond, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int spoequ_(integer *n, real_ *a, integer *lda, real_ *s, real_ 
	*scond, real_ *amax, integer *info);

/* Subroutine */ int sporfs_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *af, integer *ldaf, real_ *b, integer *ldb, real_ *x,
	 integer *ldx, real_ *ferr, real_ *berr, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int sposv_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sposvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, real_ *a, integer *lda, real_ *af, integer *ldaf, char *equed, 
	real_ *s, real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *rcond, 
	real_ *ferr, real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int spotf2_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int spotrf_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int spotri_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *info);

/* Subroutine */ int spotrs_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sppcon_(char *uplo, integer *n, real_ *ap, real_ *anorm, 
	real_ *rcond, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sppequ_(char *uplo, integer *n, real_ *ap, real_ *s, real_ *
	scond, real_ *amax, integer *info);

/* Subroutine */ int spprfs_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	real_ *afp, real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *ferr, 
	real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sppsv_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sppsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, real_ *ap, real_ *afp, char *equed, real_ *s, real_ *b, integer *
	ldb, real_ *x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, real_ 
	*work, integer *iwork, integer *info);

/* Subroutine */ int spptrf_(char *uplo, integer *n, real_ *ap, integer *info);

/* Subroutine */ int spptri_(char *uplo, integer *n, real_ *ap, integer *info);

/* Subroutine */ int spptrs_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sptcon_(integer *n, real_ *d__, real_ *e, real_ *anorm, 
	real_ *rcond, real_ *work, integer *info);

/* Subroutine */ int spteqr_(char *compz, integer *n, real_ *d__, real_ *e, 
	real_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int sptrfs_(integer *n, integer *nrhs, real_ *d__, real_ *e, 
	real_ *df, real_ *ef, real_ *b, integer *ldb, real_ *x, integer *ldx, 
	real_ *ferr, real_ *berr, real_ *work, integer *info);

/* Subroutine */ int sptsv_(integer *n, integer *nrhs, real_ *d__, real_ *e, 
	real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sptsvx_(char *fact, integer *n, integer *nrhs, real_ *d__,
	 real_ *e, real_ *df, real_ *ef, real_ *b, integer *ldb, real_ *x, integer 
	*ldx, real_ *rcond, real_ *ferr, real_ *berr, real_ *work, integer *info);

/* Subroutine */ int spttrf_(integer *n, real_ *d__, real_ *e, integer *info);

/* Subroutine */ int spttrs_(integer *n, integer *nrhs, real_ *d__, real_ *e, 
	real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sptts2_(integer *n, integer *nrhs, real_ *d__, real_ *e, 
	real_ *b, integer *ldb);

/* Subroutine */ int srscl_(integer *n, real_ *sa, real_ *sx, integer *incx);

/* Subroutine */ int ssbev_(char *jobz, char *uplo, integer *n, integer *kd, 
	real_ *ab, integer *ldab, real_ *w, real_ *z__, integer *ldz, real_ *work,
	 integer *info);

/* Subroutine */ int ssbevd_(char *jobz, char *uplo, integer *n, integer *kd, 
	real_ *ab, integer *ldab, real_ *w, real_ *z__, integer *ldz, real_ *work,
	 integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int ssbevx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *kd, real_ *ab, integer *ldab, real_ *q, integer *ldq, real_ *vl,
	 real_ *vu, integer *il, integer *iu, real_ *abstol, integer *m, real_ *
	w, real_ *z__, integer *ldz, real_ *work, integer *iwork, integer *
	ifail, integer *info);

/* Subroutine */ int ssbgst_(char *vect, char *uplo, integer *n, integer *ka, 
	integer *kb, real_ *ab, integer *ldab, real_ *bb, integer *ldbb, real_ *
	x, integer *ldx, real_ *work, integer *info);

/* Subroutine */ int ssbgv_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, real_ *ab, integer *ldab, real_ *bb, integer *ldbb, real_ *
	w, real_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int ssbgvd_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, real_ *ab, integer *ldab, real_ *bb, integer *ldbb, real_ *
	w, real_ *z__, integer *ldz, real_ *work, integer *lwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int ssbgvx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *ka, integer *kb, real_ *ab, integer *ldab, real_ *bb, integer *
	ldbb, real_ *q, integer *ldq, real_ *vl, real_ *vu, integer *il, integer 
	*iu, real_ *abstol, integer *m, real_ *w, real_ *z__, integer *ldz, real_ 
	*work, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int ssbtrd_(char *vect, char *uplo, integer *n, integer *kd, 
	real_ *ab, integer *ldab, real_ *d__, real_ *e, real_ *q, integer *ldq, 
	real_ *work, integer *info);

/* Subroutine */ int sspcon_(char *uplo, integer *n, real_ *ap, integer *ipiv, 
	real_ *anorm, real_ *rcond, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sspev_(char *jobz, char *uplo, integer *n, real_ *ap, 
	real_ *w, real_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int sspevd_(char *jobz, char *uplo, integer *n, real_ *ap, 
	real_ *w, real_ *z__, integer *ldz, real_ *work, integer *lwork, integer 
	*iwork, integer *liwork, integer *info);

/* Subroutine */ int sspevx_(char *jobz, char *range, char *uplo, integer *n, 
	real_ *ap, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, 
	integer *m, real_ *w, real_ *z__, integer *ldz, real_ *work, integer *
	iwork, integer *ifail, integer *info);

/* Subroutine */ int sspgst_(integer *itype, char *uplo, integer *n, real_ *ap,
	 real_ *bp, integer *info);

/* Subroutine */ int sspgv_(integer *itype, char *jobz, char *uplo, integer *
	n, real_ *ap, real_ *bp, real_ *w, real_ *z__, integer *ldz, real_ *work, 
	integer *info);

/* Subroutine */ int sspgvd_(integer *itype, char *jobz, char *uplo, integer *
	n, real_ *ap, real_ *bp, real_ *w, real_ *z__, integer *ldz, real_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int sspgvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, real_ *ap, real_ *bp, real_ *vl, real_ *vu, integer *il,
	 integer *iu, real_ *abstol, integer *m, real_ *w, real_ *z__, integer *
	ldz, real_ *work, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int ssprfs_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	real_ *afp, integer *ipiv, real_ *b, integer *ldb, real_ *x, integer *
	ldx, real_ *ferr, real_ *berr, real_ *work, integer *iwork, integer *
	info);

/* Subroutine */ int sspsv_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	integer *ipiv, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sspsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, real_ *ap, real_ *afp, integer *ipiv, real_ *b, integer *ldb, real_ 
	*x, integer *ldx, real_ *rcond, real_ *ferr, real_ *berr, real_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int ssptrd_(char *uplo, integer *n, real_ *ap, real_ *d__, 
	real_ *e, real_ *tau, integer *info);

/* Subroutine */ int ssptrf_(char *uplo, integer *n, real_ *ap, integer *ipiv, 
	integer *info);

/* Subroutine */ int ssptri_(char *uplo, integer *n, real_ *ap, integer *ipiv, 
	real_ *work, integer *info);

/* Subroutine */ int ssptrs_(char *uplo, integer *n, integer *nrhs, real_ *ap, 
	integer *ipiv, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int sstebz_(char *range, char *order, integer *n, real_ *vl, 
	real_ *vu, integer *il, integer *iu, real_ *abstol, real_ *d__, real_ *e, 
	integer *m, integer *nsplit, real_ *w, integer *iblock, integer *
	isplit, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int sstedc_(char *compz, integer *n, real_ *d__, real_ *e, 
	real_ *z__, integer *ldz, real_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int sstegr_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, 
	integer *m, real_ *w, real_ *z__, integer *ldz, integer *isuppz, real_ *
	work, integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int sstein_(integer *n, real_ *d__, real_ *e, integer *m, real_ 
	*w, integer *iblock, integer *isplit, real_ *z__, integer *ldz, real_ *
	work, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int sstemr_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, integer *m, 
	real_ *w, real_ *z__, integer *ldz, integer *nzc, integer *isuppz, 
	logical *tryrac, real_ *work, integer *lwork, integer *iwork, integer *
	liwork, integer *info);

/* Subroutine */ int ssteqr_(char *compz, integer *n, real_ *d__, real_ *e, 
	real_ *z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int ssterf_(integer *n, real_ *d__, real_ *e, integer *info);

/* Subroutine */ int sstev_(char *jobz, integer *n, real_ *d__, real_ *e, real_ *
	z__, integer *ldz, real_ *work, integer *info);

/* Subroutine */ int sstevd_(char *jobz, integer *n, real_ *d__, real_ *e, real_ 
	*z__, integer *ldz, real_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int sstevr_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, 
	integer *m, real_ *w, real_ *z__, integer *ldz, integer *isuppz, real_ *
	work, integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int sstevx_(char *jobz, char *range, integer *n, real_ *d__, 
	real_ *e, real_ *vl, real_ *vu, integer *il, integer *iu, real_ *abstol, 
	integer *m, real_ *w, real_ *z__, integer *ldz, real_ *work, integer *
	iwork, integer *ifail, integer *info);

/* Subroutine */ int ssycon_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *ipiv, real_ *anorm, real_ *rcond, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int ssyev_(char *jobz, char *uplo, integer *n, real_ *a, 
	integer *lda, real_ *w, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int ssyevd_(char *jobz, char *uplo, integer *n, real_ *a, 
	integer *lda, real_ *w, real_ *work, integer *lwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int ssyevr_(char *jobz, char *range, char *uplo, integer *n, 
	real_ *a, integer *lda, real_ *vl, real_ *vu, integer *il, integer *iu, 
	real_ *abstol, integer *m, real_ *w, real_ *z__, integer *ldz, integer *
	isuppz, real_ *work, integer *lwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int ssyevx_(char *jobz, char *range, char *uplo, integer *n, 
	real_ *a, integer *lda, real_ *vl, real_ *vu, integer *il, integer *iu, 
	real_ *abstol, integer *m, real_ *w, real_ *z__, integer *ldz, real_ *
	work, integer *lwork, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int ssygs2_(integer *itype, char *uplo, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int ssygst_(integer *itype, char *uplo, integer *n, real_ *a, 
	integer *lda, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int ssygv_(integer *itype, char *jobz, char *uplo, integer *
	n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *w, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int ssygvd_(integer *itype, char *jobz, char *uplo, integer *
	n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *w, real_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int ssygvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *
	vl, real_ *vu, integer *il, integer *iu, real_ *abstol, integer *m, 
	real_ *w, real_ *z__, integer *ldz, real_ *work, integer *lwork, integer  	
	*iwork, integer *ifail, integer *info);

/* Subroutine */ int ssyrfs_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, real_ *af, integer *ldaf, integer *ipiv, real_ *b, 
	integer *ldb, real_ *x, integer *ldx, real_ *ferr, real_ *berr, real_ *
	work, integer *iwork, integer *info);

/* Subroutine */ int ssysv_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, integer *ipiv, real_ *b, integer *ldb, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int ssysvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, real_ *a, integer *lda, real_ *af, integer *ldaf, integer *ipiv, 
	real_ *b, integer *ldb, real_ *x, integer *ldx, real_ *rcond, real_ *ferr,
	 real_ *berr, real_ *work, integer *lwork, integer *iwork, integer *
	info);

/* Subroutine */ int ssytd2_(char *uplo, integer *n, real_ *a, integer *lda, 
	real_ *d__, real_ *e, real_ *tau, integer *info);

/* Subroutine */ int ssytf2_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *ipiv, integer *info);

/* Subroutine */ int ssytrd_(char *uplo, integer *n, real_ *a, integer *lda, 
	real_ *d__, real_ *e, real_ *tau, real_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int ssytrf_(char *uplo, integer *n, real_ *a, integer *lda,  	
    integer *ipiv, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int ssytri_(char *uplo, integer *n, real_ *a, integer *lda, 
	integer *ipiv, real_ *work, integer *info);

/* Subroutine */ int ssytrs_(char *uplo, integer *n, integer *nrhs, real_ *a, 
	integer *lda, integer *ipiv, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int stbcon_(char *norm, char *uplo, char *diag, integer *n, 
	integer *kd, real_ *ab, integer *ldab, real_ *rcond, real_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int stbrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, real_ *ab, integer *ldab, real_ *b, integer 
	*ldb, real_ *x, integer *ldx, real_ *ferr, real_ *berr, real_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int stbtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, real_ *ab, integer *ldab, real_ *b, integer 
	*ldb, integer *info);

/* Subroutine */ int stgevc_(char *side, char *howmny, logical *select, 
	integer *n, real_ *s, integer *lds, real_ *p, integer *ldp, real_ *vl, 
	integer *ldvl, real_ *vr, integer *ldvr, integer *mm, integer *m, real_ 
	*work, integer *info);

/* Subroutine */ int stgex2_(logical *wantq, logical *wantz, integer *n, real_ 
	*a, integer *lda, real_ *b, integer *ldb, real_ *q, integer *ldq, real_ *
	z__, integer *ldz, integer *j1, integer *n1, integer *n2, real_ *work, 
	integer *lwork, integer *info);

/* Subroutine */ int stgexc_(logical *wantq, logical *wantz, integer *n, real_ 
	*a, integer *lda, real_ *b, integer *ldb, real_ *q, integer *ldq, real_ *
	z__, integer *ldz, integer *ifst, integer *ilst, real_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int stgsen_(integer *ijob, logical *wantq, logical *wantz, 
	logical *select, integer *n, real_ *a, integer *lda, real_ *b, integer *
	ldb, real_ *alphar, real_ *alphai, real_ *beta, real_ *q, integer *ldq, 
	real_ *z__, integer *ldz, integer *m, real_ *pl, real_ *pr, real_ *dif, 
	real_ *work, integer *lwork, integer *iwork, integer *liwork, integer *
	info);

/* Subroutine */ int stgsja_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, integer *k, integer *l, real_ *a, integer *lda,
	 real_ *b, integer *ldb, real_ *tola, real_ *tolb, real_ *alpha, real_ *
	beta, real_ *u, integer *ldu, real_ *v, integer *ldv, real_ *q, integer *
	ldq, real_ *work, integer *ncycle, integer *info);

/* Subroutine */ int stgsna_(char *job, char *howmny, logical *select, 
	integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *vl, 
	integer *ldvl, real_ *vr, integer *ldvr, real_ *s, real_ *dif, integer *
	mm, integer *m, real_ *work, integer *lwork, integer *iwork, integer *
	info);

/* Subroutine */ int stgsy2_(char *trans, integer *ijob, integer *m, integer *
	n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *c__, integer *
	ldc, real_ *d__, integer *ldd, real_ *e, integer *lde, real_ *f, integer 
	*ldf, real_ *scale, real_ *rdsum, real_ *rdscal, integer *iwork, integer 
	*pq, integer *info);

/* Subroutine */ int stgsyl_(char *trans, integer *ijob, integer *m, integer *
	n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *c__, integer *
	ldc, real_ *d__, integer *ldd, real_ *e, integer *lde, real_ *f, integer 
	*ldf, real_ *scale, real_ *dif, real_ *work, integer *lwork, integer *
	iwork, integer *info);

/* Subroutine */ int stpcon_(char *norm, char *uplo, char *diag, integer *n, 
	real_ *ap, real_ *rcond, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int stprfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, real_ *ap, real_ *b, integer *ldb, real_ *x, integer *ldx,
	 real_ *ferr, real_ *berr, real_ *work, integer *iwork, integer *info);

/* Subroutine */ int stptri_(char *uplo, char *diag, integer *n, real_ *ap, 
	integer *info);

/* Subroutine */ int stptrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, real_ *ap, real_ *b, integer *ldb, integer *info);

/* Subroutine */ int strcon_(char *norm, char *uplo, char *diag, integer *n, 
	real_ *a, integer *lda, real_ *rcond, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int strevc_(char *side, char *howmny, logical *select, 
	integer *n, real_ *t, integer *ldt, real_ *vl, integer *ldvl, real_ *vr, 
	integer *ldvr, integer *mm, integer *m, real_ *work, integer *info);

/* Subroutine */ int strexc_(char *compq, integer *n, real_ *t, integer *ldt, 
	real_ *q, integer *ldq, integer *ifst, integer *ilst, real_ *work, 
	integer *info);

/* Subroutine */ int strrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *x, 
	integer *ldx, real_ *ferr, real_ *berr, real_ *work, integer *iwork, 
	integer *info);

/* Subroutine */ int strsen_(char *job, char *compq, logical *select, integer 
	*n, real_ *t, integer *ldt, real_ *q, integer *ldq, real_ *wr, real_ *wi, 
	integer *m, real_ *s, real_ *sep, real_ *work, integer *lwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int strsna_(char *job, char *howmny, logical *select, 
	integer *n, real_ *t, integer *ldt, real_ *vl, integer *ldvl, real_ *vr, 
	integer *ldvr, real_ *s, real_ *sep, integer *mm, integer *m, real_ *
	work, integer *ldwork, integer *iwork, integer *info);

/* Subroutine */ int strsyl_(char *trana, char *tranb, integer *isgn, integer 
	*m, integer *n, real_ *a, integer *lda, real_ *b, integer *ldb, real_ *
	c__, integer *ldc, real_ *scale, integer *info);

/* Subroutine */ int strti2_(char *uplo, char *diag, integer *n, real_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int strtri_(char *uplo, char *diag, integer *n, real_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int strtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, real_ *a, integer *lda, real_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int stzrqf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, integer *info);

/* Subroutine */ int stzrzf_(integer *m, integer *n, real_ *a, integer *lda, 
	real_ *tau, real_ *work, integer *lwork, integer *info);

/* Subroutine */ int xerbla_(char *srname, integer *info);

/* Subroutine */ int zbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
	nru, integer *ncc, doublereal_ *d__, doublereal_ *e, doublecomplex_ *vt, 
	integer *ldvt, doublecomplex_ *u, integer *ldu, doublecomplex_ *c__, 
	integer *ldc, doublereal_ *rwork, integer *info);

/* Subroutine */ int zcgesv_(integer *n, integer *nrhs, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublecomplex_ *work, complex_ *swork, 
	integer *iter, integer *info);

/* Subroutine */ int zdrscl_(integer *n, doublereal_ *sa, doublecomplex_ *sx, 
	integer *incx);

/* Subroutine */ int zgbbrd_(char *vect, integer *m, integer *n, integer *ncc,
	 integer *kl, integer *ku, doublecomplex_ *ab, integer *ldab, 
	doublereal_ *d__, doublereal_ *e, doublecomplex_ *q, integer *ldq, 
	doublecomplex_ *pt, integer *ldpt, doublecomplex_ *c__, integer *ldc, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgbcon_(char *norm, integer *n, integer *kl, integer *ku,
	 doublecomplex_ *ab, integer *ldab, integer *ipiv, doublereal_ *anorm, 
	doublereal_ *rcond, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zgbequ_(integer *m, integer *n, integer *kl, integer *ku,
	 doublecomplex_ *ab, integer *ldab, doublereal_ *r__, doublereal_ *c__, 
	doublereal_ *rowcnd, doublereal_ *colcnd, doublereal_ *amax, integer *
	info);

/* Subroutine */ int zgbrfs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, doublecomplex_ *ab, integer *ldab, doublecomplex_ *
	afb, integer *ldafb, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgbsv_(integer *n, integer *kl, integer *ku, integer *
	nrhs, doublecomplex_ *ab, integer *ldab, integer *ipiv, doublecomplex_ *
	b, integer *ldb, integer *info);

/* Subroutine */ int zgbsvx_(char *fact, char *trans, integer *n, integer *kl,
	 integer *ku, integer *nrhs, doublecomplex_ *ab, integer *ldab, 
	doublecomplex_ *afb, integer *ldafb, integer *ipiv, char *equed, 
	doublereal_ *r__, doublereal_ *c__, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zgbtf2_(integer *m, integer *n, integer *kl, integer *ku,
	 doublecomplex_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int zgbtrf_(integer *m, integer *n, integer *kl, integer *ku,
	 doublecomplex_ *ab, integer *ldab, integer *ipiv, integer *info);

/* Subroutine */ int zgbtrs_(char *trans, integer *n, integer *kl, integer *
	ku, integer *nrhs, doublecomplex_ *ab, integer *ldab, integer *ipiv, 
	doublecomplex_ *b, integer *ldb, integer *info);

/* Subroutine */ int zgebak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, doublereal_ *scale, integer *m, doublecomplex_ *v, 
	integer *ldv, integer *info);

/* Subroutine */ int zgebal_(char *job, integer *n, doublecomplex_ *a, integer 
	*lda, integer *ilo, integer *ihi, doublereal_ *scale, integer *info);

/* Subroutine */ int zgebd2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *d__, doublereal_ *e, doublecomplex_ *tauq, 
	doublecomplex_ *taup, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgebrd_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *d__, doublereal_ *e, doublecomplex_ *tauq, 
	doublecomplex_ *taup, doublecomplex_ *work, integer *lwork, integer *
	info);

/* Subroutine */ int zgecon_(char *norm, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgeequ_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *r__, doublereal_ *c__, doublereal_ *rowcnd, 
	doublereal_ *colcnd, doublereal_ *amax, integer *info);

/* Subroutine */ int zgees_(char *jobvs, char *sort, L_fp select, integer *n, 
	doublecomplex_ *a, integer *lda, integer *sdim, doublecomplex_ *w, 
	doublecomplex_ *vs, integer *ldvs, doublecomplex_ *work, integer *lwork,
	 doublereal_ *rwork, logical *bwork, integer *info);

/* Subroutine */ int zgeesx_(char *jobvs, char *sort, L_fp select, char *
	sense, integer *n, doublecomplex_ *a, integer *lda, integer *sdim, 
	doublecomplex_ *w, doublecomplex_ *vs, integer *ldvs, doublereal_ *
	rconde, doublereal_ *rcondv, doublecomplex_ *work, integer *lwork, 
	doublereal_ *rwork, logical *bwork, integer *info);

/* Subroutine */ int zgeev_(char *jobvl, char *jobvr, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *w, doublecomplex_ *vl, 
	integer *ldvl, doublecomplex_ *vr, integer *ldvr, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgeevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *w, 
	doublecomplex_ *vl, integer *ldvl, doublecomplex_ *vr, integer *ldvr, 
	integer *ilo, integer *ihi, doublereal_ *scale, doublereal_ *abnrm, 
	doublereal_ *rconde, doublereal_ *rcondv, doublecomplex_ *work, integer * 	
	lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgegs_(char *jobvsl, char *jobvsr, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *alpha, doublecomplex_ *beta, doublecomplex_ *vsl, 
	integer *ldvsl, doublecomplex_ *vsr, integer *ldvsr, doublecomplex_ * 	
	work, integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgegv_(char *jobvl, char *jobvr, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *alpha, doublecomplex_ *beta, doublecomplex_ *vl, integer 
	*ldvl, doublecomplex_ *vr, integer *ldvr, doublecomplex_ *work, integer 
	*lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgehd2_(integer *n, integer *ilo, integer *ihi, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zgehrd_(integer *n, integer *ilo, integer *ihi, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zgelq2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgelqf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zgels_(char *trans, integer *m, integer *n, integer *
	nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zgelsd_(integer *m, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublereal_ *s, doublereal_ *rcond, integer *rank, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int zgelss_(integer *m, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublereal_ *s, doublereal_ *rcond, integer *rank, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgelsx_(integer *m, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *jpvt, doublereal_ *rcond, integer *rank, doublecomplex_ *work, 
	doublereal_ *rwork, integer *info);

/* Subroutine */ int zgelsy_(integer *m, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *jpvt, doublereal_ *rcond, integer *rank, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgeql2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgeqlf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zgeqp3_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, integer *jpvt, doublecomplex_ *tau, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgeqpf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, integer *jpvt, doublecomplex_ *tau, doublecomplex_ *work, 
	doublereal_ *rwork, integer *info);

/* Subroutine */ int zgeqr2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgeqrf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zgerfs_(char *trans, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *ldaf, 
	integer *ipiv, doublecomplex_ *b, integer *ldb, doublecomplex_ *x, 
	integer *ldx, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work,
	 doublereal_ *rwork, integer *info);

/* Subroutine */ int zgerq2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgerqf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zgesc2_(integer *n, doublecomplex_ *a, integer *lda, 
	doublecomplex_ *rhs, integer *ipiv, integer *jpiv, doublereal_ *scale);

/* Subroutine */ int zgesdd_(char *jobz, integer *m, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *s, doublecomplex_ *u, 
	integer *ldu, doublecomplex_ *vt, integer *ldvt, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int zgesv_(integer *n, integer *nrhs, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *b, integer *ldb, integer *
	info);

/* Subroutine */ int zgesvd_(char *jobu, char *jobvt, integer *m, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *s, doublecomplex_ *u, 
	integer *ldu, doublecomplex_ *vt, integer *ldvt, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgesvx_(char *fact, char *trans, integer *n, integer *
	nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *
	ldaf, integer *ipiv, char *equed, doublereal_ *r__, doublereal_ *c__, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgetc2_(integer *n, doublecomplex_ *a, integer *lda, 
	integer *ipiv, integer *jpiv, integer *info);

/* Subroutine */ int zgetf2_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, integer *info);

/* Subroutine */ int zgetrf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, integer *info);

/* Subroutine */ int zgetri_(integer *n, doublecomplex_ *a, integer *lda, 
	integer *ipiv, doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zgetrs_(char *trans, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int zggbak_(char *job, char *side, integer *n, integer *ilo, 
	integer *ihi, doublereal_ *lscale, doublereal_ *rscale, integer *m, 
	doublecomplex_ *v, integer *ldv, integer *info);

/* Subroutine */ int zggbal_(char *job, integer *n, doublecomplex_ *a, integer 
	*lda, doublecomplex_ *b, integer *ldb, integer *ilo, integer *ihi, 
	doublereal_ *lscale, doublereal_ *rscale, doublereal_ *work, integer *
	info);

/* Subroutine */ int zgges_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, integer *sdim, doublecomplex_ *alpha, doublecomplex_ *
	beta, doublecomplex_ *vsl, integer *ldvsl, doublecomplex_ *vsr, integer 
	*ldvsr, doublecomplex_ *work, integer *lwork, doublereal_ *rwork, 
	logical *bwork, integer *info);

/* Subroutine */ int zggesx_(char *jobvsl, char *jobvsr, char *sort, L_fp 
	selctg, char *sense, integer *n, doublecomplex_ *a, integer *lda, 
	doublecomplex_ *b, integer *ldb, integer *sdim, doublecomplex_ *alpha, 
	doublecomplex_ *beta, doublecomplex_ *vsl, integer *ldvsl, 
	doublecomplex_ *vsr, integer *ldvsr, doublereal_ *rconde, doublereal_ *
	rcondv, doublecomplex_ *work, integer *lwork, doublereal_ *rwork, 
	integer *iwork, integer *liwork, logical *bwork, integer *info);

/* Subroutine */ int zggev_(char *jobvl, char *jobvr, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *alpha, doublecomplex_ *beta, doublecomplex_ *vl, integer 
	*ldvl, doublecomplex_ *vr, integer *ldvr, doublecomplex_ *work, integer
	*lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zggevx_(char *balanc, char *jobvl, char *jobvr, char *
	sense, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *alpha, doublecomplex_ *beta, 
	doublecomplex_ *vl, integer *ldvl, doublecomplex_ *vr, integer *ldvr, 
	integer *ilo, integer *ihi, doublereal_ *lscale, doublereal_ *rscale, 
	doublereal_ *abnrm, doublereal_ *bbnrm, doublereal_ *rconde, doublereal_ *
	rcondv, doublecomplex_ *work, integer *lwork, doublereal_ *rwork, 
	integer *iwork, logical *bwork, integer *info);

/* Subroutine */ int zggglm_(integer *n, integer *m, integer *p, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *d__, doublecomplex_ *x, doublecomplex_ *y, doublecomplex_ 
	*work, integer *lwork, integer *info);

/* Subroutine */ int zgghrd_(char *compq, char *compz, integer *n, integer *
	ilo, integer *ihi, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *q, integer *ldq, doublecomplex_ *z__, 
	integer *ldz, integer *info);

/* Subroutine */ int zgglse_(integer *m, integer *n, integer *p, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *c__, doublecomplex_ *d__, doublecomplex_ *x, 
	doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zggqrf_(integer *n, integer *m, integer *p, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *taua, doublecomplex_ *b,
	 integer *ldb, doublecomplex_ *taub, doublecomplex_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int zggrqf_(integer *m, integer *p, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *taua, doublecomplex_ *b,
	 integer *ldb, doublecomplex_ *taub, doublecomplex_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int zggsvd_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *n, integer *p, integer *k, integer *l, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *b, integer *ldb, doublereal_ *alpha, 
	doublereal_ *beta, doublecomplex_ *u, integer *ldu, doublecomplex_ *v, 
	integer *ldv, doublecomplex_ *q, integer *ldq, doublecomplex_ *work, 
	doublereal_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int zggsvp_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ 
	*b, integer *ldb, doublereal_ *tola, doublereal_ *tolb, integer *k, 
	integer *l, doublecomplex_ *u, integer *ldu, doublecomplex_ *v, integer 
	*ldv, doublecomplex_ *q, integer *ldq, integer *iwork, doublereal_ *
	rwork, doublecomplex_ *tau, doublecomplex_ *work, integer *info);

/* Subroutine */ int zgtcon_(char *norm, integer *n, doublecomplex_ *dl, 
	doublecomplex_ *d__, doublecomplex_ *du, doublecomplex_ *du2, integer *
	ipiv, doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *work, 
	integer *info);

/* Subroutine */ int zgtrfs_(char *trans, integer *n, integer *nrhs, 
	doublecomplex_ *dl, doublecomplex_ *d__, doublecomplex_ *du, 
	doublecomplex_ *dlf, doublecomplex_ *df, doublecomplex_ *duf, 
	doublecomplex_ *du2, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zgtsv_(integer *n, integer *nrhs, doublecomplex_ *dl, 
	doublecomplex_ *d__, doublecomplex_ *du, doublecomplex_ *b, integer *ldb,
	 integer *info);

/* Subroutine */ int zgtsvx_(char *fact, char *trans, integer *n, integer *
	nrhs, doublecomplex_ *dl, doublecomplex_ *d__, doublecomplex_ *du, 
	doublecomplex_ *dlf, doublecomplex_ *df, doublecomplex_ *duf, 
	doublecomplex_ *du2, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zgttrf_(integer *n, doublecomplex_ *dl, doublecomplex_ *
	d__, doublecomplex_ *du, doublecomplex_ *du2, integer *ipiv, integer *
	info);

/* Subroutine */ int zgttrs_(char *trans, integer *n, integer *nrhs, 
	doublecomplex_ *dl, doublecomplex_ *d__, doublecomplex_ *du, 
	doublecomplex_ *du2, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zgtts2_(integer *itrans, integer *n, integer *nrhs, 
	doublecomplex_ *dl, doublecomplex_ *d__, doublecomplex_ *du, 
	doublecomplex_ *du2, integer *ipiv, doublecomplex_ *b, integer *ldb);

/* Subroutine */ int zhbev_(char *jobz, char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *w, doublecomplex_ *z__, 
	integer *ldz, doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zhbevd_(char *jobz, char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *w, doublecomplex_ *z__, 
	integer *ldz, doublecomplex_ *work, integer *lwork, doublereal_ *rwork, 
	integer *lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zhbevx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *kd, doublecomplex_ *ab, integer *ldab, doublecomplex_ *q, 
	integer *ldq, doublereal_ *vl, doublereal_ *vu, integer *il, integer *
	iu, doublereal_ *abstol, integer *m, doublereal_ *w, doublecomplex_ *z__,
	 integer *ldz, doublecomplex_ *work, doublereal_ *rwork, integer *iwork,
	 integer *ifail, integer *info);

/* Subroutine */ int zhbgst_(char *vect, char *uplo, integer *n, integer *ka, 
	integer *kb, doublecomplex_ *ab, integer *ldab, doublecomplex_ *bb, 
	integer *ldbb, doublecomplex_ *x, integer *ldx, doublecomplex_ *work, 
	doublereal_ *rwork, integer *info);

/* Subroutine */ int zhbgv_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, doublecomplex_ *ab, integer *ldab, doublecomplex_ *bb, 
	integer *ldbb, doublereal_ *w, doublecomplex_ *z__, integer *ldz, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zhbgvd_(char *jobz, char *uplo, integer *n, integer *ka, 
	integer *kb, doublecomplex_ *ab, integer *ldab, doublecomplex_ *bb, 
	integer *ldbb, doublereal_ *w, doublecomplex_ *z__, integer *ldz, 
	doublecomplex_ *work, integer *lwork, doublereal_ *rwork, integer *
	lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zhbgvx_(char *jobz, char *range, char *uplo, integer *n, 
	integer *ka, integer *kb, doublecomplex_ *ab, integer *ldab, 
	doublecomplex_ *bb, integer *ldbb, doublecomplex_ *q, integer *ldq, 
	doublereal_ *vl, doublereal_ *vu, integer *il, integer *iu, doublereal_ *
	abstol, integer *m, doublereal_ *w, doublecomplex_ *z__, integer *ldz, 
	doublecomplex_ *work, doublereal_ *rwork, integer *iwork, integer *
	ifail, integer *info);

/* Subroutine */ int zhbtrd_(char *vect, char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *d__, doublereal_ *e, 
	doublecomplex_ *q, integer *ldq, doublecomplex_ *work, integer *info);

/* Subroutine */ int zhecon_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublereal_ *anorm, doublereal_ *rcond, 
	doublecomplex_ *work, integer *info);

/* Subroutine */ int zheev_(char *jobz, char *uplo, integer *n, doublecomplex_ 
	*a, integer *lda, doublereal_ *w, doublecomplex_ *work, integer *lwork, 
	doublereal_ *rwork, integer *info);

/* Subroutine */ int zheevd_(char *jobz, char *uplo, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *w, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *lrwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int zheevr_(char *jobz, char *range, char *uplo, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *vl, doublereal_ *vu, 
	integer *il, integer *iu, doublereal_ *abstol, integer *m, doublereal_ *
	w, doublecomplex_ *z__, integer *ldz, integer *isuppz, doublecomplex_ *
	work, integer *lwork, doublereal_ *rwork, integer *lrwork, integer *
	iwork, integer *liwork, integer *info);

/* Subroutine */ int zheevx_(char *jobz, char *range, char *uplo, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *vl, doublereal_ *vu, 
	integer *il, integer *iu, doublereal_ *abstol, integer *m, doublereal_ *
	w, doublecomplex_ *z__, integer *ldz, doublecomplex_ *work, integer *
	lwork, doublereal_ *rwork, integer *iwork, integer *ifail, integer *
	info);

/* Subroutine */ int zhegs2_(integer *itype, char *uplo, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zhegst_(integer *itype, char *uplo, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zhegv_(integer *itype, char *jobz, char *uplo, integer *
	n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublereal_ *w, doublecomplex_ *work, integer *lwork, doublereal_ *rwork,
	 integer *info);

/* Subroutine */ int zhegvd_(integer *itype, char *jobz, char *uplo, integer *
	n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublereal_ *w, doublecomplex_ *work, integer *lwork, doublereal_ *rwork,
	 integer *lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zhegvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, doublereal_ *vl, doublereal_ *vu, integer *il, integer *
	iu, doublereal_ *abstol, integer *m, doublereal_ *w, doublecomplex_ *z__,
	 integer *ldz, doublecomplex_ *work, integer *lwork, doublereal_ *rwork,
	 integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int zherfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *ldaf, 
	integer *ipiv, doublecomplex_ *b, integer *ldb, doublecomplex_ *x, 
	integer *ldx, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work,
	 doublereal_ *rwork, integer *info);

/* Subroutine */ int zhesv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zhesvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *
	ldaf, integer *ipiv, doublecomplex_ *b, integer *ldb, doublecomplex_ *x,
	 integer *ldx, doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zhetd2_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *d__, doublereal_ *e, doublecomplex_ *tau, 
	integer *info);

/* Subroutine */ int zhetf2_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, integer *info);

/* Subroutine */ int zhetrd_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *d__, doublereal_ *e, doublecomplex_ *tau, 
	doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zhetrf_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int zhetri_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *work, integer *info);

/* Subroutine */ int zhetrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int zhgeqz_(char *job, char *compq, char *compz, integer *n, 
	integer *ilo, integer *ihi, doublecomplex_ *h__, integer *ldh, 
	doublecomplex_ *t, integer *ldt, doublecomplex_ *alpha, doublecomplex_ *
	beta, doublecomplex_ *q, integer *ldq, doublecomplex_ *z__, integer *
	ldz, doublecomplex_ *work, integer *lwork, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zhpcon_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zhpev_(char *jobz, char *uplo, integer *n, doublecomplex_ 
	*ap, doublereal_ *w, doublecomplex_ *z__, integer *ldz, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zhpevd_(char *jobz, char *uplo, integer *n, 
	doublecomplex_ *ap, doublereal_ *w, doublecomplex_ *z__, integer *ldz, 
	doublecomplex_ *work, integer *lwork, doublereal_ *rwork, integer *
	lrwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zhpevx_(char *jobz, char *range, char *uplo, integer *n, 
	doublecomplex_ *ap, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublecomplex_ *z__, integer *ldz, doublecomplex_ *work, doublereal_ *
	rwork, integer *iwork, integer *ifail, integer *info);

/* Subroutine */ int zhpgst_(integer *itype, char *uplo, integer *n, 
	doublecomplex_ *ap, doublecomplex_ *bp, integer *info);

/* Subroutine */ int zhpgv_(integer *itype, char *jobz, char *uplo, integer *
	n, doublecomplex_ *ap, doublecomplex_ *bp, doublereal_ *w, doublecomplex_ 
	*z__, integer *ldz, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zhpgvd_(integer *itype, char *jobz, char *uplo, integer *
	n, doublecomplex_ *ap, doublecomplex_ *bp, doublereal_ *w, doublecomplex_ 
	*z__, integer *ldz, doublecomplex_ *work, integer *lwork, doublereal_ *
	rwork, integer *lrwork, integer *iwork, integer *liwork, integer *
	info);

/* Subroutine */ int zhpgvx_(integer *itype, char *jobz, char *range, char *
	uplo, integer *n, doublecomplex_ *ap, doublecomplex_ *bp, doublereal_ *
	vl, doublereal_ *vu, integer *il, integer *iu, doublereal_ *abstol, 
	integer *m, doublereal_ *w, doublecomplex_ *z__, integer *ldz, 
	doublecomplex_ *work, doublereal_ *rwork, integer *iwork, integer *
	ifail, integer *info);

/* Subroutine */ int zhprfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, doublecomplex_ *afp, integer *ipiv, doublecomplex_ *
	b, integer *ldb, doublecomplex_ *x, integer *ldx, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zhpsv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zhpsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *ap, doublecomplex_ *afp, integer *ipiv, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zhptrd_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublereal_ *d__, doublereal_ *e, doublecomplex_ *tau, integer *info);

/* Subroutine */ int zhptrf_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, integer *info);

/* Subroutine */ int zhptri_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, doublecomplex_ *work, integer *info);

/* Subroutine */ int zhptrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zhsein_(char *side, char *eigsrc, char *initv, logical *
	select, integer *n, doublecomplex_ *h__, integer *ldh, doublecomplex_ *
	w, doublecomplex_ *vl, integer *ldvl, doublecomplex_ *vr, integer *ldvr,
	 integer *mm, integer *m, doublecomplex_ *work, doublereal_ *rwork, 
	integer *ifaill, integer *ifailr, integer *info);

/* Subroutine */ int zhseqr_(char *job, char *compz, integer *n, integer *ilo,
	 integer *ihi, doublecomplex_ *h__, integer *ldh, doublecomplex_ *w, 
	doublecomplex_ *z__, integer *ldz, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zlabrd_(integer *m, integer *n, integer *nb, 
	doublecomplex_ *a, integer *lda, doublereal_ *d__, doublereal_ *e, 
	doublecomplex_ *tauq, doublecomplex_ *taup, doublecomplex_ *x, integer *
	ldx, doublecomplex_ *y, integer *ldy);

/* Subroutine */ int zlacgv_(integer *n, doublecomplex_ *x, integer *incx);

/* Subroutine */ int zlacn2_(integer *n, doublecomplex_ *v, doublecomplex_ *x, 
	doublereal_ *est, integer *kase, integer *isave);

/* Subroutine */ int zlacon_(integer *n, doublecomplex_ *v, doublecomplex_ *x, 
	doublereal_ *est, integer *kase);

/* Subroutine */ int zlacp2_(char *uplo, integer *m, integer *n, doublereal_ *
	a, integer *lda, doublecomplex_ *b, integer *ldb);

/* Subroutine */ int zlacpy_(char *uplo, integer *m, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb);

/* Subroutine */ int zlacrm_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *b, integer *ldb, doublecomplex_ *c__, 
	integer *ldc, doublereal_ *rwork);

/* Subroutine */ int zlacrt_(integer *n, doublecomplex_ *cx, integer *incx, 
	doublecomplex_ *cy, integer *incy, doublecomplex_ *c__, doublecomplex_ *
	s);

/* Double Complex */ VOID zladiv_(doublecomplex_ * ret_val, doublecomplex_ *x, 
	doublecomplex_ *y);

/* Subroutine */ int zlaed0_(integer *qsiz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublecomplex_ *q, integer *ldq, doublecomplex_ *qstore, 
	integer *ldqs, doublereal_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int zlaed7_(integer *n, integer *cutpnt, integer *qsiz, 
	integer *tlvls, integer *curlvl, integer *curpbm, doublereal_ *d__, 
	doublecomplex_ *q, integer *ldq, doublereal_ *rho, integer *indxq, 
	doublereal_ *qstore, integer *qptr, integer *prmptr, integer *perm, 
	integer *givptr, integer *givcol, doublereal_ *givnum, doublecomplex_ *
	work, doublereal_ *rwork, integer *iwork, integer *info);

/* Subroutine */ int zlaed8_(integer *k, integer *n, integer *qsiz, 
	doublecomplex_ *q, integer *ldq, doublereal_ *d__, doublereal_ *rho, 
	integer *cutpnt, doublereal_ *z__, doublereal_ *dlamda, doublecomplex_ *
	q2, integer *ldq2, doublereal_ *w, integer *indxp, integer *indx, 
	integer *indxq, integer *perm, integer *givptr, integer *givcol, 
	doublereal_ *givnum, integer *info);

/* Subroutine */ int zlaein_(logical *rightv, logical *noinit, integer *n, 
	doublecomplex_ *h__, integer *ldh, doublecomplex_ *w, doublecomplex_ *v, 
	doublecomplex_ *b, integer *ldb, doublereal_ *rwork, doublereal_ *eps3, 
	doublereal_ *smlnum, integer *info);

/* Subroutine */ int zlaesy_(doublecomplex_ *a, doublecomplex_ *b, 
	doublecomplex_ *c__, doublecomplex_ *rt1, doublecomplex_ *rt2, 
	doublecomplex_ *evscal, doublecomplex_ *cs1, doublecomplex_ *sn1);

/* Subroutine */ int zlaev2_(doublecomplex_ *a, doublecomplex_ *b, 
	doublecomplex_ *c__, doublereal_ *rt1, doublereal_ *rt2, doublereal_ *cs1,
	 doublecomplex_ *sn1);

/* Subroutine */ int zlag2c_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, complex_ *sa, integer *ldsa, integer *info);

/* Subroutine */ int zlags2_(logical *upper, doublereal_ *a1, doublecomplex_ *
	a2, doublereal_ *a3, doublereal_ *b1, doublecomplex_ *b2, doublereal_ *b3,
	 doublereal_ *csu, doublecomplex_ *snu, doublereal_ *csv, doublecomplex_ *
	snv, doublereal_ *csq, doublecomplex_ *snq);

/* Subroutine */ int zlagtm_(char *trans, integer *n, integer *nrhs, 
	doublereal_ *alpha, doublecomplex_ *dl, doublecomplex_ *d__, 
	doublecomplex_ *du, doublecomplex_ *x, integer *ldx, doublereal_ *beta, 
	doublecomplex_ *b, integer *ldb);

/* Subroutine */ int zlahef_(char *uplo, integer *n, integer *nb, integer *kb,
	 doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *w, 
	integer *ldw, integer *info);

/* Subroutine */ int zlahqr_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublecomplex_ *h__, integer *ldh, 
	doublecomplex_ *w, integer *iloz, integer *ihiz, doublecomplex_ *z__, 
	integer *ldz, integer *info);

/* Subroutine */ int zlahr2_(integer *n, integer *k, integer *nb, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *t, 
	integer *ldt, doublecomplex_ *y, integer *ldy);

/* Subroutine */ int zlahrd_(integer *n, integer *k, integer *nb, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *t, 
	integer *ldt, doublecomplex_ *y, integer *ldy);

/* Subroutine */ int zlaic1_(integer *job, integer *j, doublecomplex_ *x, 
	doublereal_ *sest, doublecomplex_ *w, doublecomplex_ *gamma, doublereal_ *
	sestpr, doublecomplex_ *s, doublecomplex_ *c__);

/* Subroutine */ int zlals0_(integer *icompq, integer *nl, integer *nr, 
	integer *sqre, integer *nrhs, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *bx, integer *ldbx, integer *perm, integer *givptr, 
	integer *givcol, integer *ldgcol, doublereal_ *givnum, integer *ldgnum,
	 doublereal_ *poles, doublereal_ *difl, doublereal_ *difr, doublereal_ *
	z__, integer *k, doublereal_ *c__, doublereal_ *s, doublereal_ *rwork, 
	integer *info);

/* Subroutine */ int zlalsa_(integer *icompq, integer *smlsiz, integer *n, 
	integer *nrhs, doublecomplex_ *b, integer *ldb, doublecomplex_ *bx, 
	integer *ldbx, doublereal_ *u, integer *ldu, doublereal_ *vt, integer *
	k, doublereal_ *difl, doublereal_ *difr, doublereal_ *z__, doublereal_ *
	poles, integer *givptr, integer *givcol, integer *ldgcol, integer *
	perm, doublereal_ *givnum, doublereal_ *c__, doublereal_ *s, doublereal_ *
	rwork, integer *iwork, integer *info);

/* Subroutine */ int zlalsd_(char *uplo, integer *smlsiz, integer *n, integer 
	*nrhs, doublereal_ *d__, doublereal_ *e, doublecomplex_ *b, integer *ldb,
	 doublereal_ *rcond, integer *rank, doublecomplex_ *work, doublereal_ *
	rwork, integer *iwork, integer *info);

/* Subroutine */ int zlapll_(integer *n, doublecomplex_ *x, integer *incx, 
	doublecomplex_ *y, integer *incy, doublereal_ *ssmin);

/* Subroutine */ int zlapmt_(logical *forwrd, integer *m, integer *n, 
	doublecomplex_ *x, integer *ldx, integer *k);

/* Subroutine */ int zlaqgb_(integer *m, integer *n, integer *kl, integer *ku,
	 doublecomplex_ *ab, integer *ldab, doublereal_ *r__, doublereal_ *c__, 
	doublereal_ *rowcnd, doublereal_ *colcnd, doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqge_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *r__, doublereal_ *c__, doublereal_ *rowcnd, 
	doublereal_ *colcnd, doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqhb_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *s, doublereal_ *scond, 
	doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqhe_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *s, doublereal_ *scond, doublereal_ *amax, 
	char *equed);

/* Subroutine */ int zlaqhp_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqp2_(integer *m, integer *n, integer *offset, 
	doublecomplex_ *a, integer *lda, integer *jpvt, doublecomplex_ *tau, 
	doublereal_ *vn1, doublereal_ *vn2, doublecomplex_ *work);

/* Subroutine */ int zlaqps_(integer *m, integer *n, integer *offset, integer 
	*nb, integer *kb, doublecomplex_ *a, integer *lda, integer *jpvt, 
	doublecomplex_ *tau, doublereal_ *vn1, doublereal_ *vn2, doublecomplex_ *
	auxv, doublecomplex_ *f, integer *ldf);

/* Subroutine */ int zlaqr0_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublecomplex_ *h__, integer *ldh, 
	doublecomplex_ *w, integer *iloz, integer *ihiz, doublecomplex_ *z__, 
	integer *ldz, doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zlaqr1_(integer *n, doublecomplex_ *h__, integer *ldh, 
	doublecomplex_ *s1, doublecomplex_ *s2, doublecomplex_ *v);

/* Subroutine */ int zlaqr2_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, doublecomplex_ *h__, 
	integer *ldh, integer *iloz, integer *ihiz, doublecomplex_ *z__, 
	integer *ldz, integer *ns, integer *nd, doublecomplex_ *sh, 
	doublecomplex_ *v, integer *ldv, integer *nh, doublecomplex_ *t, 
	integer *ldt, integer *nv, doublecomplex_ *wv, integer *ldwv, 
	doublecomplex_ *work, integer *lwork);

/* Subroutine */ int zlaqr3_(logical *wantt, logical *wantz, integer *n, 
	integer *ktop, integer *kbot, integer *nw, doublecomplex_ *h__, 
	integer *ldh, integer *iloz, integer *ihiz, doublecomplex_ *z__, 
	integer *ldz, integer *ns, integer *nd, doublecomplex_ *sh, 
	doublecomplex_ *v, integer *ldv, integer *nh, doublecomplex_ *t, 
	integer *ldt, integer *nv, doublecomplex_ *wv, integer *ldwv, 
	doublecomplex_ *work, integer *lwork);

/* Subroutine */ int zlaqr4_(logical *wantt, logical *wantz, integer *n, 
	integer *ilo, integer *ihi, doublecomplex_ *h__, integer *ldh, 
	doublecomplex_ *w, integer *iloz, integer *ihiz, doublecomplex_ *z__, 
	integer *ldz, doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zlaqr5_(logical *wantt, logical *wantz, integer *kacc22, 
	integer *n, integer *ktop, integer *kbot, integer *nshfts, 
	doublecomplex_ *s, doublecomplex_ *h__, integer *ldh, integer *iloz, 
	integer *ihiz, doublecomplex_ *z__, integer *ldz, doublecomplex_ *v, 
	integer *ldv, doublecomplex_ *u, integer *ldu, integer *nv, 
	doublecomplex_ *wv, integer *ldwv, integer *nh, doublecomplex_ *wh, 
	integer *ldwh);

/* Subroutine */ int zlaqsb_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *s, doublereal_ *scond, 
	doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqsp_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, char *equed);

/* Subroutine */ int zlaqsy_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *s, doublereal_ *scond, doublereal_ *amax, 
	char *equed);

/* Subroutine */ int zlar1v_(integer *n, integer *b1, integer *bn, doublereal_ 
	*lambda, doublereal_ *d__, doublereal_ *l, doublereal_ *ld, doublereal_ *
	lld, doublereal_ *pivmin, doublereal_ *gaptol, doublecomplex_ *z__, 
	logical *wantnc, integer *negcnt, doublereal_ *ztz, doublereal_ *mingma,
	 integer *r__, integer *isuppz, doublereal_ *nrminv, doublereal_ *resid,
	 doublereal_ *rqcorr, doublereal_ *work);

/* Subroutine */ int zlar2v_(integer *n, doublecomplex_ *x, doublecomplex_ *y, 
	doublecomplex_ *z__, integer *incx, doublereal_ *c__, doublecomplex_ *s, 
	integer *incc);

/* Subroutine */ int zlarcm_(integer *m, integer *n, doublereal_ *a, integer *
	lda, doublecomplex_ *b, integer *ldb, doublecomplex_ *c__, integer *ldc,
	 doublereal_ *rwork);

/* Subroutine */ int zlarf_(char *side, integer *m, integer *n, doublecomplex_ 
	*v, integer *incv, doublecomplex_ *tau, doublecomplex_ *c__, integer *
	ldc, doublecomplex_ *work);

/* Subroutine */ int zlarfb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, doublecomplex_ *v, integer 
	*ldv, doublecomplex_ *t, integer *ldt, doublecomplex_ *c__, integer *
	ldc, doublecomplex_ *work, integer *ldwork  	);

/* Subroutine */ int zlarfg_(integer *n, doublecomplex_ *alpha, doublecomplex_ *
	x, integer *incx, doublecomplex_ *tau);

/* Subroutine */ int zlarft_(char *direct, char *storev, integer *n, integer *
	k, doublecomplex_ *v, integer *ldv, doublecomplex_ *tau, doublecomplex_ *
	t, integer *ldt);

/* Subroutine */ int zlarfx_(char *side, integer *m, integer *n, 
	doublecomplex_ *v, doublecomplex_ *tau, doublecomplex_ *c__, integer *
	ldc, doublecomplex_ *work);

/* Subroutine */ int zlargv_(integer *n, doublecomplex_ *x, integer *incx, 
	doublecomplex_ *y, integer *incy, doublereal_ *c__, integer *incc);

/* Subroutine */ int zlarnv_(integer *idist, integer *iseed, integer *n, 
	doublecomplex_ *x);

/* Subroutine */ int zlarrv_(integer *n, doublereal_ *vl, doublereal_ *vu, 
	doublereal_ *d__, doublereal_ *l, doublereal_ *pivmin, integer *isplit, 
	integer *m, integer *dol, integer *dou, doublereal_ *minrgp, 
	doublereal_ *rtol1, doublereal_ *rtol2, doublereal_ *w, doublereal_ *werr,
	 doublereal_ *wgap, integer *iblock, integer *indexw, doublereal_ *gers,
	 doublecomplex_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *iwork, integer *info);

/* Subroutine */ int zlartg_(doublecomplex_ *f, doublecomplex_ *g, doublereal_ *
	cs, doublecomplex_ *sn, doublecomplex_ *r__);

/* Subroutine */ int zlartv_(integer *n, doublecomplex_ *x, integer *incx, 
	doublecomplex_ *y, integer *incy, doublereal_ *c__, doublecomplex_ *s, 
	integer *incc);

/* Subroutine */ int zlarz_(char *side, integer *m, integer *n, integer *l, 
	doublecomplex_ *v, integer *incv, doublecomplex_ *tau, doublecomplex_ *
	c__, integer *ldc, doublecomplex_ *work);

/* Subroutine */ int zlarzb_(char *side, char *trans, char *direct, char *
	storev, integer *m, integer *n, integer *k, integer *l, doublecomplex_ 
	*v, integer *ldv, doublecomplex_ *t, integer *ldt, doublecomplex_ *c__, 
	integer *ldc, doublecomplex_ *work, integer *ldwork);

/* Subroutine */ int zlarzt_(char *direct, char *storev, integer *n, integer *
	k, doublecomplex_ *v, integer *ldv, doublecomplex_ *tau, doublecomplex_ *
	t, integer *ldt);

/* Subroutine */ int zlascl_(char *type__, integer *kl, integer *ku, 
	doublereal_ *cfrom, doublereal_ *cto, integer *m, integer *n, 
	doublecomplex_ *a, integer *lda, integer *info);

/* Subroutine */ int zlaset_(char *uplo, integer *m, integer *n, 
	doublecomplex_ *alpha, doublecomplex_ *beta, doublecomplex_ *a, integer *
	lda);

/* Subroutine */ int zlasr_(char *side, char *pivot, char *direct, integer *m,
	 integer *n, doublereal_ *c__, doublereal_ *s, doublecomplex_ *a, 
	integer *lda);

/* Subroutine */ int zlassq_(integer *n, doublecomplex_ *x, integer *incx, 
	doublereal_ *scale, doublereal_ *sumsq);

/* Subroutine */ int zlaswp_(integer *n, doublecomplex_ *a, integer *lda, 
	integer *k1, integer *k2, integer *ipiv, integer *incx);

/* Subroutine */ int zlasyf_(char *uplo, integer *n, integer *nb, integer *kb,
	 doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *w, 
	integer *ldw, integer *info);

/* Subroutine */ int zlatbs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, integer *kd, doublecomplex_ *ab, integer *ldab, 
	doublecomplex_ *x, doublereal_ *scale, doublereal_ *cnorm, integer *info);

/* Subroutine */ int zlatdf_(integer *ijob, integer *n, doublecomplex_ *z__, 
	integer *ldz, doublecomplex_ *rhs, doublereal_ *rdsum, doublereal_ *
	rdscal, integer *ipiv, integer *jpiv);

/* Subroutine */ int zlatps_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, doublecomplex_ *ap, doublecomplex_ *x, doublereal_ *
	scale, doublereal_ *cnorm, integer *info);

/* Subroutine */ int zlatrd_(char *uplo, integer *n, integer *nb, 
	doublecomplex_ *a, integer *lda, doublereal_ *e, doublecomplex_ *tau, 
	doublecomplex_ *w, integer *ldw);

/* Subroutine */ int zlatrs_(char *uplo, char *trans, char *diag, char *
	normin, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *x, 
	doublereal_ *scale, doublereal_ *cnorm, integer *info);

/* Subroutine */ int zlatrz_(integer *m, integer *n, integer *l, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work);

/* Subroutine */ int zlatzm_(char *side, integer *m, integer *n, 
	doublecomplex_ *v, integer *incv, doublecomplex_ *tau, doublecomplex_ *
	c1, doublecomplex_ *c2, integer *ldc, doublecomplex_ *work  	);

/* Subroutine */ int zlauu2_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int zlauum_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int zpbcon_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *anorm, doublereal_ *
	rcond, doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zpbequ_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, doublereal_ *s, doublereal_ *scond, 
	doublereal_ *amax, integer *info);

/* Subroutine */ int zpbrfs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublecomplex_ *ab, integer *ldab, doublecomplex_ *afb, integer *
	ldafb, doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx,
	 doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work, doublereal_ *
	rwork, integer *info);

/* Subroutine */ int zpbstf_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, integer *info);

/* Subroutine */ int zpbsv_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublecomplex_ *ab, integer *ldab, doublecomplex_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int zpbsvx_(char *fact, char *uplo, integer *n, integer *kd, 
	integer *nrhs, doublecomplex_ *ab, integer *ldab, doublecomplex_ *afb, 
	integer *ldafb, char *equed, doublereal_ *s, doublecomplex_ *b, integer 
	*ldb, doublecomplex_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *
	ferr, doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, 
	integer *info);

/* Subroutine */ int zpbtf2_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, integer *info);

/* Subroutine */ int zpbtrf_(char *uplo, integer *n, integer *kd, 
	doublecomplex_ *ab, integer *ldab, integer *info);

/* Subroutine */ int zpbtrs_(char *uplo, integer *n, integer *kd, integer *
	nrhs, doublecomplex_ *ab, integer *ldab, doublecomplex_ *b, integer *
	ldb, integer *info);

/* Subroutine */ int zpocon_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zpoequ_(integer *n, doublecomplex_ *a, integer *lda, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, integer *info);

/* Subroutine */ int zporfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *ldaf, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work, doublereal_ *
	rwork, integer *info);

/* Subroutine */ int zposv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zposvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *
	ldaf, char *equed, doublereal_ *s, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *rcond, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zpotf2_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int zpotrf_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int zpotri_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *info);

/* Subroutine */ int zpotrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zppcon_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *work, doublereal_ 
	*rwork, integer *info);

/* Subroutine */ int zppequ_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublereal_ *s, doublereal_ *scond, doublereal_ *amax, integer *info);

/* Subroutine */ int zpprfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, doublecomplex_ *afp, doublecomplex_ *b, integer *ldb,
	 doublecomplex_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zppsv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, doublecomplex_ *b, integer *ldb, integer *info);

/* Subroutine */ int zppsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *ap, doublecomplex_ *afp, char *equed, doublereal_ *
	s, doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zpptrf_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *info);

/* Subroutine */ int zpptri_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *info);

/* Subroutine */ int zpptrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, doublecomplex_ *b, integer *ldb, integer *info);

/* Subroutine */ int zptcon_(integer *n, doublereal_ *d__, doublecomplex_ *e, 
	doublereal_ *anorm, doublereal_ *rcond, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zpteqr_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublecomplex_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int zptrfs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *d__, doublecomplex_ *e, doublereal_ *df, doublecomplex_ *ef, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work, doublereal_ *
	rwork, integer *info);

/* Subroutine */ int zptsv_(integer *n, integer *nrhs, doublereal_ *d__, 
	doublecomplex_ *e, doublecomplex_ *b, integer *ldb, integer *info);

/* Subroutine */ int zptsvx_(char *fact, integer *n, integer *nrhs, 
	doublereal_ *d__, doublecomplex_ *e, doublereal_ *df, doublecomplex_ *ef, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zpttrf_(integer *n, doublereal_ *d__, doublecomplex_ *e, 
	integer *info);

/* Subroutine */ int zpttrs_(char *uplo, integer *n, integer *nrhs, 
	doublereal_ *d__, doublecomplex_ *e, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zptts2_(integer *iuplo, integer *n, integer *nrhs, 
	doublereal_ *d__, doublecomplex_ *e, doublecomplex_ *b, integer *ldb);

/* Subroutine */ int zrot_(integer *n, doublecomplex_ *cx, integer *incx, 
	doublecomplex_ *cy, integer *incy, doublereal_ *c__, doublecomplex_ *s);

/* Subroutine */ int zspcon_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, doublereal_ *anorm, doublereal_ *rcond, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zspmv_(char *uplo, integer *n, doublecomplex_ *alpha, 
	doublecomplex_ *ap, doublecomplex_ *x, integer *incx, doublecomplex_ *
	beta, doublecomplex_ *y, integer *incy);

/* Subroutine */ int zspr_(char *uplo, integer *n, doublecomplex_ *alpha, 
	doublecomplex_ *x, integer *incx, doublecomplex_ *ap);

/* Subroutine */ int zsprfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, doublecomplex_ *afp, integer *ipiv, doublecomplex_ *
	b, integer *ldb, doublecomplex_ *x, integer *ldx, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int zspsv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zspsvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *ap, doublecomplex_ *afp, integer *ipiv, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int zsptrf_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, integer *info);

/* Subroutine */ int zsptri_(char *uplo, integer *n, doublecomplex_ *ap, 
	integer *ipiv, doublecomplex_ *work, integer *info);

/* Subroutine */ int zsptrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *ap, integer *ipiv, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int zstedc_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublecomplex_ *z__, integer *ldz, doublecomplex_ *work, 
	integer *lwork, doublereal_ *rwork, integer *lrwork, integer *iwork, 
	integer *liwork, integer *info);

/* Subroutine */ int zstegr_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, doublereal_ *abstol, integer *m, doublereal_ *w, 
	doublecomplex_ *z__, integer *ldz, integer *isuppz, doublereal_ *work, 
	integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zstein_(integer *n, doublereal_ *d__, doublereal_ *e, 
	integer *m, doublereal_ *w, integer *iblock, integer *isplit, 
	doublecomplex_ *z__, integer *ldz, doublereal_ *work, integer *iwork, 
	integer *ifail, integer *info);

/* Subroutine */ int zstemr_(char *jobz, char *range, integer *n, doublereal_ *
	d__, doublereal_ *e, doublereal_ *vl, doublereal_ *vu, integer *il, 
	integer *iu, integer *m, doublereal_ *w, doublecomplex_ *z__, integer *
	ldz, integer *nzc, integer *isuppz, logical *tryrac, doublereal_ *work,
	 integer *lwork, integer *iwork, integer *liwork, integer *info);

/* Subroutine */ int zsteqr_(char *compz, integer *n, doublereal_ *d__, 
	doublereal_ *e, doublecomplex_ *z__, integer *ldz, doublereal_ *work, 
	integer *info);

/* Subroutine */ int zsycon_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublereal_ *anorm, doublereal_ *rcond, 
	doublecomplex_ *work, integer *info);

/* Subroutine */ int zsymv_(char *uplo, integer *n, doublecomplex_ *alpha, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *x, integer *incx, 
	doublecomplex_ *beta, doublecomplex_ *y, integer *incy);

/* Subroutine */ int zsyr_(char *uplo, integer *n, doublecomplex_ *alpha, 
	doublecomplex_ *x, integer *incx, doublecomplex_ *a, integer *lda);

/* Subroutine */ int zsyrfs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *ldaf, 
	integer *ipiv, doublecomplex_ *b, integer *ldb, doublecomplex_ *x, 
	integer *ldx, doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work,
	 doublereal_ *rwork, integer *info);

/* Subroutine */ int zsysv_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int zsysvx_(char *fact, char *uplo, integer *n, integer *
	nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *af, integer *
	ldaf, integer *ipiv, doublecomplex_ *b, integer *ldb, doublecomplex_ *x,
	 integer *ldx, doublereal_ *rcond, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, integer *lwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int zsytf2_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, integer *info);

/* Subroutine */ int zsytrf_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *work, integer *lwork, 
	integer *info);

/* Subroutine */ int zsytri_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, integer *ipiv, doublecomplex_ *work, integer *info);

/* Subroutine */ int zsytrs_(char *uplo, integer *n, integer *nrhs, 
	doublecomplex_ *a, integer *lda, integer *ipiv, doublecomplex_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int ztbcon_(char *norm, char *uplo, char *diag, integer *n, 
	integer *kd, doublecomplex_ *ab, integer *ldab, doublereal_ *rcond, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int ztbrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, doublecomplex_ *ab, integer *ldab, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *x, integer *ldx, 
	doublereal_ *ferr, doublereal_ *berr, doublecomplex_ *work, doublereal_ *
	rwork, integer *info);

/* Subroutine */ int ztbtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *kd, integer *nrhs, doublecomplex_ *ab, integer *ldab, 
	doublecomplex_ *b, integer *ldb, integer *info);

/* Subroutine */ int ztgevc_(char *side, char *howmny, logical *select, 
	integer *n, doublecomplex_ *s, integer *lds, doublecomplex_ *p, integer 
	*ldp, doublecomplex_ *vl, integer *ldvl, doublecomplex_ *vr, integer *
	ldvr, integer *mm, integer *m, doublecomplex_ *work, doublereal_ *rwork,
	 integer *info);

/* Subroutine */ int ztgex2_(logical *wantq, logical *wantz, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *q, integer *ldq, doublecomplex_ *z__, integer *ldz, 
	integer *j1, integer *info);

/* Subroutine */ int ztgexc_(logical *wantq, logical *wantz, integer *n, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *q, integer *ldq, doublecomplex_ *z__, integer *ldz, 
	integer *ifst, integer *ilst, integer *info);

/* Subroutine */ int ztgsen_(integer *ijob, logical *wantq, logical *wantz, 
	logical *select, integer *n, doublecomplex_ *a, integer *lda, 
	doublecomplex_ *b, integer *ldb, doublecomplex_ *alpha, doublecomplex_ *
	beta, doublecomplex_ *q, integer *ldq, doublecomplex_ *z__, integer *
	ldz, integer *m, doublereal_ *pl, doublereal_ *pr, doublereal_ *dif, 
	doublecomplex_ *work, integer *lwork, integer *iwork, integer *liwork, 
	integer *info);

/* Subroutine */ int ztgsja_(char *jobu, char *jobv, char *jobq, integer *m, 
	integer *p, integer *n, integer *k, integer *l, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *b, integer *ldb, doublereal_ *tola, 
	doublereal_ *tolb, doublereal_ *alpha, doublereal_ *beta, doublecomplex_ *
	u, integer *ldu, doublecomplex_ *v, integer *ldv, doublecomplex_ *q, 
	integer *ldq, doublecomplex_ *work, integer *ncycle, integer *info);

/* Subroutine */ int ztgsna_(char *job, char *howmny, logical *select, 
	integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer 
	*ldb, doublecomplex_ *vl, integer *ldvl, doublecomplex_ *vr, integer *
	ldvr, doublereal_ *s, doublereal_ *dif, integer *mm, integer *m, 
	doublecomplex_ *work, integer *lwork, integer *iwork, integer *info);

/* Subroutine */ int ztgsy2_(char *trans, integer *ijob, integer *m, integer *
	n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *d__, integer *ldd, 
	doublecomplex_ *e, integer *lde, doublecomplex_ *f, integer *ldf, 
	doublereal_ *scale, doublereal_ *rdsum, doublereal_ *rdscal, integer *
	info);

/* Subroutine */ int ztgsyl_(char *trans, integer *ijob, integer *m, integer *
	n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *d__, integer *ldd, 
	doublecomplex_ *e, integer *lde, doublecomplex_ *f, integer *ldf, 
	doublereal_ *scale, doublereal_ *dif, doublecomplex_ *work, integer *
	lwork, integer *iwork, integer *info);

/* Subroutine */ int ztpcon_(char *norm, char *uplo, char *diag, integer *n, 
	doublecomplex_ *ap, doublereal_ *rcond, doublecomplex_ *work, doublereal_ 
	*rwork, integer *info);

/* Subroutine */ int ztprfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublecomplex_ *ap, doublecomplex_ *b, integer *ldb, 
	doublecomplex_ *x, integer *ldx, doublereal_ *ferr, doublereal_ *berr, 
	doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int ztptri_(char *uplo, char *diag, integer *n, 
	doublecomplex_ *ap, integer *info);

/* Subroutine */ int ztptrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublecomplex_ *ap, doublecomplex_ *b, integer *ldb, 
	integer *info);

/* Subroutine */ int ztrcon_(char *norm, char *uplo, char *diag, integer *n, 
	doublecomplex_ *a, integer *lda, doublereal_ *rcond, doublecomplex_ *
	work, doublereal_ *rwork, integer *info);

/* Subroutine */ int ztrevc_(char *side, char *howmny, logical *select, 
	integer *n, doublecomplex_ *t, integer *ldt, doublecomplex_ *vl, 
	integer *ldvl, doublecomplex_ *vr, integer *ldvr, integer *mm, integer 
	*m, doublecomplex_ *work, doublereal_ *rwork, integer *info);

/* Subroutine */ int ztrexc_(char *compq, integer *n, doublecomplex_ *t, 
	integer *ldt, doublecomplex_ *q, integer *ldq, integer *ifst, integer *
	ilst, integer *info);

/* Subroutine */ int ztrrfs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *x, integer *ldx, doublereal_ *ferr, 
	doublereal_ *berr, doublecomplex_ *work, doublereal_ *rwork, integer *
	info);

/* Subroutine */ int ztrsen_(char *job, char *compq, logical *select, integer 
	*n, doublecomplex_ *t, integer *ldt, doublecomplex_ *q, integer *ldq, 
	doublecomplex_ *w, integer *m, doublereal_ *s, doublereal_ *sep, 
	doublecomplex_ *work, integer *lwork, integer *info);

/* Subroutine */ int ztrsna_(char *job, char *howmny, logical *select, 
	integer *n, doublecomplex_ *t, integer *ldt, doublecomplex_ *vl, 
	integer *ldvl, doublecomplex_ *vr, integer *ldvr, doublereal_ *s, 
	doublereal_ *sep, integer *mm, integer *m, doublecomplex_ *work, 
	integer *ldwork, doublereal_ *rwork, integer *info);

/* Subroutine */ int ztrsyl_(char *trana, char *tranb, integer *isgn, integer 
	*m, integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, doublecomplex_ *c__, integer *ldc, doublereal_ *scale, 
	integer *info);

/* Subroutine */ int ztrti2_(char *uplo, char *diag, integer *n, 
	doublecomplex_ *a, integer *lda, integer *info);

/* Subroutine */ int ztrtri_(char *uplo, char *diag, integer *n, 
	doublecomplex_ *a, integer *lda, integer *info);

/* Subroutine */ int ztrtrs_(char *uplo, char *trans, char *diag, integer *n, 
	integer *nrhs, doublecomplex_ *a, integer *lda, doublecomplex_ *b, 
	integer *ldb, integer *info);

/* Subroutine */ int ztzrqf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, integer *info);

/* Subroutine */ int ztzrzf_(integer *m, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zung2l_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zung2r_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zungbr_(char *vect, integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zunghr_(integer *n, integer *ilo, integer *ihi, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zungl2_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zunglq_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zungql_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zungqr_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zungr2_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zungrq_(integer *m, integer *n, integer *k, 
	doublecomplex_ *a, integer *lda, doublecomplex_ *tau, doublecomplex_ *
	work, integer *lwork, integer *info);

/* Subroutine */ int zungtr_(char *uplo, integer *n, doublecomplex_ *a, 
	integer *lda, doublecomplex_ *tau, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zunm2l_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *info);

/* Subroutine */ int zunm2r_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *info);

/* Subroutine */ int zunmbr_(char *vect, char *side, char *trans, integer *m, 
	integer *n, integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ 
	*tau, doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer * 	
	lwork, integer *info);

/* Subroutine */ int zunmhr_(char *side, char *trans, integer *m, integer *n, 
	integer *ilo, integer *ihi, doublecomplex_ *a, integer *lda, 
	doublecomplex_ *tau, doublecomplex_ *c__, integer *ldc, doublecomplex_ * 	
	work, integer *lwork, integer *info);

/* Subroutine */ int zunml2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *info);

/* Subroutine */ int zunmlq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zunmql_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zunmqr_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zunmr2_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *info);

/* Subroutine */ int zunmr3_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, doublecomplex_ *a, integer *lda, doublecomplex_ 
	*tau, doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *
	info);

/* Subroutine */ int zunmrq_(char *side, char *trans, integer *m, integer *n, 
	integer *k, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zunmrz_(char *side, char *trans, integer *m, integer *n, 
	integer *k, integer *l, doublecomplex_ *a, integer *lda, doublecomplex_ 
	*tau, doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *
	lwork, integer *info);

/* Subroutine */ int zunmtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, doublecomplex_ *a, integer *lda, doublecomplex_ *tau, 
	doublecomplex_ *c__, integer *ldc, doublecomplex_ *work, integer *lwork,
	 integer *info);

/* Subroutine */ int zupgtr_(char *uplo, integer *n, doublecomplex_ *ap, 
	doublecomplex_ *tau, doublecomplex_ *q, integer *ldq, doublecomplex_ *
	work, integer *info);

/* Subroutine */ int zupmtr_(char *side, char *uplo, char *trans, integer *m, 
	integer *n, doublecomplex_ *ap, doublecomplex_ *tau, doublecomplex_ *c__,
	 integer *ldc, doublecomplex_ *work, integer *info);

#endif /* __CLAPACK_H */

